Q. What is the purpose of the 'virtual' keyword in C++?
β
Correct Answer: (C)
To allow function overriding in derived classes
Explanation: In C++, the 'virtual' keyword allows derived classes to override base class functions.