Which of the following user-defined header file extension used in c++?

a) hg
b) cpp
c) h
d) hf

1 thought on “Which of the following user-defined header file extension used in c++?”

  1. c
    Explanation: .h extensions are used for user defined header files. To include a user defined header file one should use #include”name.h” i.e. enclosed within double quotes.

Leave a Comment