![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
Which of the following is not correct for virtual function in C++? |
A. | Must be declared in public section of class. |
B. | Virtual function can be static. |
C. | Virtual function should be accessed using pointers. |
D. | Virtual function is defined in base class. |
Answer» B. Virtual function can be static. |
View all MCQs in
CPP ProgrammingNo comments yet