c preprocessor include

C# include:

C #include is a preprocessor directive which is used in a C program to include the codes of a file into the current program file. There are two ways of using #include directive.

#include <file_name>

To check for the directory holding the required system header files, #include <file_name> is used.

#include “file_name”

To check for the current directory, #include “file_name” is used.


#include <stdio.h>  
void main()
printf("Hello C.");  


Hello C.
Please follow and like us:
Content Protection by DMCA.com