Vidyalelo
C Programming · Q17

C Preprocessor

Programming · C Programming · question 17

Q17

What is the purpose of the #pragma once directive in C preprocessing?

A.
Prevents recursive inclusion of header files
Answer
B.
Defines a macro
C.
Checks for syntax errors
D.
Excludes code

Answer: Option A

Solution

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