C Archive

Working Create Menu Program in C using gets ||scanf_s|| get_s function
December 24, 2020
No Comments
Create Menu Program in C Hello, Dear student today we learn Creating Menu Program in C using scanf_s & gets_s Function. Here also another program that we make using only gets(); Function Menu program in C using scanf_s & get_s Function #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <string.h> #include <math.h> #define NUM_STRINGS 10 #define STRING_SIZE 65

Print a Table in C Program and Generate Multiplication of Any Number 2*1
December 10, 2020
No Comments
Print a Table in C Program Hey there today we Learn about Table Programming in C without using for() loop. Here an Example for you, It may helps you. Print a Table in C Program C Program to Generate Multiplication of Table #include <stdio.h>int till=1;void printTable(int tno, int till){if(till<=10){printf(“%d x %d = %d\n”,tno,till,tno*till);printTable(tno,till+1);} }int main(){printTable(2,1);

How to Create a Menu in c programming menu system using Functions and Array
December 10, 2020
No Comments
Menu in c programming In these programs, you will learn how to work the Menu system in c programming menu system, with step by step examples for a menu in c programming using a combination of Array and Function. Menu driven program in c using Functions #define COLS 10; #define ROW 20; #include <stdio.h> #include

Store date in an integer variable Inputting the date using C
December 10, 2020
No Comments
Inputting the Date using C Learn how to take Correct Date in Inputting the date using C and Printing in a suitable form. Learn through an Example C program to display date using the structure #include <stdio.h> #include <stdio.h> //#include <stdbool.h> //#include<string.h> //#include<ctype.h> int chk_date(char ); int count=0; int main() { int z=-1; char s[11];

C Program to Count Total Number of Words and Character in string in C
December 10, 2020
No Comments
Count Total Number of Words and Character in string in c Count Number of string Data Multiple time and Number of Character and Word in C Programming String with total inputted Word and Character with space, Count Total Number of Words and Character in string in C C Program to Find the Frequency of Characters

C program to Calculate the value of N time Addition of N term
November 28, 2020
No Comments
Calculate the value of N time Hello dear, this program is the same as factorial Programming in C. Here when you enter any Integer Number then you will get output like. Ex. If you enter 5 then how your result will working Inside 5+4+3+2+1 and then calculated and print the total value of the N

C Stack program for Sorting and Storing data in Stack in C
November 28, 2020
No Comments
Storing data in Stack in C Hey, there today we learn about Storing Technique using Stack Program and Sorting too. Sorting is a technique that sort your virtual Data in Ascending or Descending Order through Storing data in Stack in C. C Stack program for Sorting Data #include <stdio.h> #define STACK_MAX 10 typedef struct { int

Easy Railway reservation program in C language for ticket booking system
November 21, 2020
No Comments
Railway reservation program in C Hello Dear, Today we learn about Railway ticket Booking Program in C, with help of the Conditional statement If-else and Switch statement (Break & Case). I hope in this program you will learn something new. Lets start… Railway reservation program in C language for ticket booking. C program for ticket

Time and Distance traveled program in C
November 20, 2020
No Comments
Distance traveled program in C Hello dear, today we learn calculating time and Distance through a Time and Distance traveled program in C. Time traveled program in C #include<stdio.h> int main() { float u,a,dist; int t; printf(” Enter the value of a : “); scanf(“%f”,&a);1 printf(” Enter the year of u : “); scanf(“%f”,&u); printf(”

Reverse a string in C programming using for loop Reverse Number 2 in One
November 19, 2020
No Comments
Reverse a string in C programming Hello, Student today we Learn about Reverse order Programming in C. Here only one Program for Reverse the String and Number Both in Reverse a string in C programming. Reverse a string in c using for loop #include <stdio.h> #include <stdlib.h> #include<string.h> int main(void) { char *word = “anyWord”;