ExamVeda
Login
Home
1
What is the purpose of the C preprocessor in C programming?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
2
Which directive is used to include the contents of another file in a C program using the C preprocessor?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
3
What is the purpose of the #define directive in C preprocessing?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
4
In C, which directive is used to conditionally include code based on preprocessor macros?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
5
What is the result of the #ifdef DEBUG directive if the DEBUG macro is defined?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
6
Which directive in C preprocessing is used to define a macro with parameters?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
7
In C preprocessing, what is the purpose of the #undef directive?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
8
What does the #ifndef directive do in C preprocessing?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
9
In C, what does the #pragma directive do in C preprocessing?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
10
What is the purpose of the #include directive in C preprocessing?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board