Which choice is an include guard for the header file my_library.h?

Advertisement

  • A
    #ifdef MY_LIBRARY_H
    #define MY_LIBRARY_H
    // my_library.h content
    #endif /* MY_LIBRARY_H */
  • B
    #ifndef MY_LIBRARY_H
    #define MY_LIBRARY_H
    // my_library.h content
    #endif /* MY_LIBRARY_H */
  • C
    #ifdef MY_LIBRARY_H
    #undef MY_LIBRARY_H
    // my_library.h content
    #endif /* MY_LIBRARY_H */
  • D
    #define MY_LIBRARY_H
    #include MY_LIBRARY_H
    // my_library.h content
    #undef MY_LIBRARY_H
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend