Q20
What is the role of the 'virtual' keyword in function declaration in C++?
A.
It indicates that the function can be accessed globally.
B.
It indicates that the function can be overridden in derived classes.
AnswerC.
It indicates that the function is immutable.
D.
It indicates that the function has no return type.
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board