Preprocessor in C

In c programming languages, Preprocessor is a macro processor, processes all the preprocessor directives present in the source code before the compilation. Preprocessor always starts with # sign.Preprocessor is also…

Enum in C

In C, Enum is a user defined data type, used to create constant group, Each constant is assigned an by default integer value starting from 0,1,2 and so on. Declaring…

Header file in C

In C, a file with .h extension is called Header file. Header file contains function prototype(declarations) and macro definition. These header files can be included in to the other c…

Output in C

In C, Output can be printed on user computer screen or written on file. To Output, a program needs input from user using standard input device(keyboard) or a file. To…

Input in C

In C, input can be from standard device from user like keyboard or from FILE. To use input function <stdio.h> header file must be included. Syntax scanf takes two arguments…