Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

defines an object-like macro that causes each subsequent instance of the macro name to be replaced by the replacement list of preprocessing tokens that constitute the remainder of the directive [ISO/IEC 9899:2011].

C programmers frequently define symbolic constants as object-like macros. For example, the code

...

Section 6.3.2.1, "Lvalues, Arrays, and Function Designators," section 6.7, "Declarations,"
section 6.7.2.2, "Enumeration Specifiers," and section 6.10.3, "Macro Replacement
[Henricson 1992]Chapter 10, "Constants"[ISO/IEC 9899:2011]"
[Saks 2001a] 
[Saks 2001b] 
[Saks 2002] 
[Summit 2005]Question 10.5b

...