What is preprocessor directive | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is preprocessor directive

14th Aug 2018, 2:54 PM
shruti
2 Answers
+ 5
I'd say "instructions which you give to the preprocessor", but for the sake of depth/detail: https://www.tutorialspoint.com/csharp/csharp_preprocessor_directives.htm
14th Aug 2018, 3:42 PM
Hatsy Rei
Hatsy Rei - avatar
+ 5
in C++ language, preprocessors instructions ( those executed before compiling) are known by the identifier #. For exemple: // includes the input/ output stream library #include <iostream> // defines a PI variable with value equal to 3.14 #define PI 3.14 greetings from Brazil.
14th Aug 2018, 4:23 PM
Davis Aguiar
Davis Aguiar - avatar