Skip to main content

what is #define directive?


#define is a preprocessor means :

(i)A #define is a preprocessor compiler directive and not a statement.
(ii) #define should not end with semicolon.
(iii) symbolic constans are generally written in uppercase so that they can be easily distinguished from the lowercase variable names.
(V) #define instructions are usually placed at the beginning before the main() function.


-------------------------------------
Posted By -