CPP MCQ
What is the user-defined header file extension in c++?
A)
cpp
B)
h
C)
hf
D)
hg

Correct Answer : Option (B) :   h

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.