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(){};
The question was posed to me in an online quiz.
This intriguing question comes from Inheritance topic in portion Class Hierarchies, Library & Containers of C++