As you learn in our previous post that the most important preprocessor Directives are:
- Include directive
- define directive
SO FRIENDS LETS START OUR LESSON
- The 'include' Directive:-
The general syntax of "include" directive to include standard header file is:
#include<name of header file>
For Example:
To include header file "stdio.h" in the program, the preprocessor directive is written as:
#include<stdio.h>
The above preprocessor directive tells the compiler to include header file "stdio.h". This header file contains the information about standard input and output functions. The scan() and printf() functions are the most commonly used input and output functions.
No comments:
Post a Comment