The #define directive


The #define directive :

A #define is a preprocessor compiler directive and not a statement. Therefore #define lines should not end with a semicolon. Symbolic constants are generally written in uppercase so that they are easily distinguished from lowercase variable names. #define instructions are usually placed at the beginning before the main() function. Symbolic constants are not declared in declared in declaration section.

Comments

Popular posts from this blog

How to print Hello World! in JAVA language

Constants in C Programming Language

The #include directive