Open In App

C | Macro & Preprocessor | Question 11

What is the use of \”#pragma once\”?
 

(A)



Used in a header file to avoid its inclusion more than once.
 

(B)



Used to avoid multiple declarations of same variable.
 

(C)

Used in a c file to include a header file at least once.
 

(D)

Used to avoid assertions
 

Answer: (A)
Explanation:
Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :