Question 52Asked in BPSC TRE 1.0 (2023) Computer Science Class 11-12

Which of the following is userdefined header file extension used in C++?

  1. Ahg
  2. Bcpp
  3. Ch
  4. DMore than one of the above
  5. ENone of the above
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.

From BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper

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.