Question 117Asked in BPSC TRE 1.0 (2023) Computer Science Class 11-12
Which of the following statements is correct about the C++ programming language?
AIn C++, both the static and dynamic types checking are allowed.
BIn C++, member function are allowed to be of the type const.
CIn C++, dynamic checking is allowed.
DMore than one of the above
ENone of the above
Show answerHide answer
Correct answer: (D) More than one of the above
Explanation
All three statements are true. C++ does static type checking at compile time and dynamic checking with RTTI and dynamic_cast, and member functions can be declared const.
From BPSC TRE 1.0 (2023) Computer Science Class 11-12 — Previous Year Paper