Which of the following is correct?
C++ allows dynamic type checking.
C++ allows both static and dynamic type checking
C++ allows static member function to be of type const.
C++ allows static type checking
Correct Answer: B — C++ allows both static and dynamic type checking
Explanation:
C++ allows both static and dynamic type checking i.e. types are checked by the compiler.