Vidyalelo
C Programming · Q13

C Preprocessor

Programming · C Programming · question 13

Q13

What is the purpose of the #error directive in C preprocessing?

A.
To include an error message in the code
Answer
B.
To define a macro
C.
To check if a variable is declared
D.
To conditionally compile code

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board