Mega Code Archive

 
Categories / C Tutorial / Preprocessor
 

Preprocessing

You can use preprocessor to define constant and substitution. #include <stdio.h> #define const 5 main(){   int i= 4;   i = i * const;   printf("%d \n", i); } 20