Which of the following are TRUE about member functions in C++?
(A) A member function can be defined outside the class definition.

(B) A member function can be declared as static.

(C) A member function must always be defined as virtual to support polymorphism.

(D) A member function can access both static and non-static members of the class.

Choose the correct answer from the options given below:

1
(A), (B), (C) Only
2
(B), (C), (D) Only
3
(A), (B), (D) Only
4
(A), (C), (D) Only

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation