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…
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…
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…
In C, Dynamic array allocation is to allocate memory at runtime or during program execution. Basically, for variables, arrays, structure etc., memory is allocated at compile time. Disadvantage of compile…
Format specifiers in C, are used for input and output data, according to data types. Format specifiers starts with % symbol and a character without space and must be placed…
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…
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…
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…
File handling also allows to delete existing file in C. C has remove() function in <stdio.h> header file which takes file name as argument and deletes the file if exists…
In C, main() function is the entry point of c program, It means, When a program runs, c compiler looks for main() function to execute c program, Without main(), C…
C language, allows to work with all file operations, like create, open, read, write, append, seek, delete and closing a file using FILE pointer data type. Advantages of File handling…