Q. Which of the following is the correct way to call a member function of a class in C++?
β
Correct Answer: (B)
object.function();
Explanation: In C++, to call a member function of an object, you use 'object.function();'.