Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 1
To run a program you first compile it in a compiler. Compiler first preprocesses your code in c++ or any other high-level language, then translates it into an assembly code, then translates it into machine code. Preprocessing is preparing the code to be translated into the assembly. Preprocessor directives tell the compiler in what way the preprocessing must be done.