A

Admin • 833K Points
Coach

Q. What is the keyword used to prevent redefinition of a header file?

  • (A) #ifdef
  • (B) #ifndef
  • (C) #define
  • (D) #endif
  • Correct Answer - Option(B)
  • Views: 31
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.