#include directive :
C programs are divided into modules or functions. Some functions are written by users and some are stored in C library. Library functions are grouped category wise and stored in different files known as header files.To access the file stored in the library, it is necessary to tell the compiler about the files to be accessed.
This is achieved by the preprocessor directive #include as follows,
#include
Filename is the name of the libraby file that contains the required function definition.
Preprocessor directives are placed at the beginning of the program.
A corner of Computer Science & Engineering related things
Home
4th Semester
Algorithm Design Computer Architecture Database Management System Data Communications Economics5th Semester
Theory of Computation Microprocessor and Assembly Language Engineering Mathematics Sociology Technical Writing and Communications
.