

MCQOPTIONS
Saved Bookmarks
1. |
Which is the correct syntax of declaring a virtual function? |
A. | virtual int func(); |
B. | virtual int func(){}; |
C. | inline virtual func(); |
D. | inline virtual func(){}; |
Answer» B. virtual int func(){}; | |