web analytics

What is #define directive?

#define directive:
  1. A #define is a preprocessor compiler directive and not a statement.
  2. #define should not end with a semicolon.
  3. Symbolic constants are generally written in uppercase so that they can be easily distinguished from the lowercase variable names.
  4. #define instructions are usually placed at the beginning before the main() function.
Please follow and like us:
Pin Share

Comments are closed.

Follow by Email
Scroll to Top