Machine-translated by Google. Questions are authored in English.
Top

Discussion

A macro must always be defined in capital letters.

  • A.True
  • B.False

Answer: B

Correct answer: False

Capitals are a convention, not a requirement. They serve as a warning to the reader that the name will be substituted textually, with all the traps that carries. The preprocessor accepts any valid identifier, and the standard library itself defines lower-case macros such as getchar.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.