C Programming - MCQ Practice Questions
Practice free C Programming multiple-choice questions with detailed answers and explanations. Perfect for competitive exam preparation.
978 questions | 100% Free
Q.21Easy
Which header file contains the definition of NULL macro?
Q.22Easy
What does #undef directive do?
Q.23Easy
In C99, which of the following is a valid use of token pasting operator (##)?
Q.24Easy
Which header file is required to use assert() macro in C?
Q.25Easy
What is the difference between #include <file.h> and #include "file.h"?
Q.26Easy
What happens when #if 0...#endif wraps a block of code?
Q.27Easy
What is the purpose of defined() operator in preprocessor conditionals?
Q.28Easy
What is the primary purpose of the C preprocessor?
Q.29Easy
Which directive is used to conditionally compile code based on a logical condition?