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

Discussion

Which of the following are C preprocessors?

  • A.#ifdef
  • B.#define
  • C.#endif
  • D.all of the mentioned

Answer: D

Correct answer: all of the mentioned

#ifdef, #define and #endif are all preprocessor directives - the first and third belonging to conditional compilation and the second to macro definition. Every directive begins with # and is processed before the compiler proper sees the file.

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

Post your comment

Please log in or register to post a comment.