In our earlier post we give you knowledge about the Basic Structure of C program. Today we are going to share with you knowledge about the Preprocessor Directives and also tell you its importance in C program.
SO FRIENDS LETS START OUR LESSON
- Preprocessor Directives:-
A preprocessor directive begins with a # sign followed by a word "include" or "define". It is an instruction or directive that tells the C compiler to take action(s) before compiling the source code.
The part of the C compiler that takes action on the preprocessor directives is called preprocessor. It does some processing before the actual compilation process starts.
- For Example:-
The most important preprocessor directives are:
- include directive
- define directive
plz define header file
ReplyDeletePreprocessor directives in c are processed before compilation of source code.
ReplyDeleteThe C Preprocessor is not part of the compiler but it extends the power of C programming language