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.

1 Comment

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published.