Q. Which of the following is not correct for virtual function in C++? (Solved)

1. Must be declared in public section of class.

2. Virtual function can be static.

3. Virtual function should be accessed using pointers.

4. Virtual function is defined in base class.

  • b. Virtual function can be static.
Subscribe Now

Get All Updates & News