πŸ“Š C Programming
Q. What is the keyword used to prevent redefinition of a header file?
  • (A) #ifdef
  • (B) #ifndef
  • (C) #define
  • (D) #endif
πŸ’¬ Discuss
βœ… Correct Answer: (B) #ifndef

Explanation: #ifndef is used in header guards to prevent multiple inclusion.

Explanation by: Mr. Dubey
#ifndef is used in header guards to prevent multiple inclusion.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
70
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate