A macro defined with a zero value

A developer uses the following C source to control which initializers reach the compiler. No command-line options or other source lines change the macro definition.


C
#define TRACE 0

#ifdef TRACE
int retained = 17;
#else
int retained = 23;
#endif

#if TRACE
int level = 4;
#else
int level = 6;
#endif


Complete these statements using decimal integers: after preprocessing, the initializer for retained is , and the initializer for level is .

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Compiling and the Build Process Questions: