Page 1 of 1

Which is the correct syntax of declaring a virtual function?

Posted: Wed Jul 13, 2022 7:52 pm
by answerhappygod
a) virtual int func();
b) virtual int func(){};
c) inline virtual func();
d) inline virtual func(){};