1.C++ allows static type checking.
2. C++ allows dynamic type checking.
3.C++ allows static member function be of type const.
4. Both A and B.
Answer:4