What is pre processor | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is pre processor

2nd Jan 2017, 5:16 PM
chirag
chirag - avatar
2 Answers
+ 3
pre processor is the very first step of compilation. It includes the code of header files mentioned in the code. eg. #include<stdio.h> the pre-processor will replace this line with its respective code.
2nd Jan 2017, 5:25 PM
Ashwaghosh Sadanshiv
Ashwaghosh Sadanshiv - avatar
+ 1
Another usage besides including are directives which can help you to develop multi-platform applications - #ifdef etc.
2nd Jan 2017, 7:33 PM
Ondřej Doněk
Ondřej Doněk - avatar