Which of the following is userdefined header file extension used in C++?
Show answerHide answer
Correct answer: (C) h
Explanation
User-defined header files in C++ use the .h extension, for example #include "myfile.h". .cpp is used for source files.
Correct answer: (C) h
Explanation
User-defined header files in C++ use the .h extension, for example #include "myfile.h". .cpp is used for source files.
This is question 52 of BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.