πŸ“Š C++
Q. Which of the following is used to prevent multiple inclusions of a header file?
  • (A) #define
  • (B) #ifndef
  • (C) #include
  • (D) #pragma
πŸ’¬ Discuss
βœ… Correct Answer: (B) #ifndef

Explanation: The '#ifndef' directive is used to prevent multiple inclusions of a header file.

Explanation by: Vinay
The '#ifndef' directive is used to prevent multiple inclusions of a header file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
106
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Vinay
Publisher
πŸ“ˆ
95%
Success Rate