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.
Example:
#include <stdio.h> void main() { printf("Hello C."); } |
Output
Hello C. |