Page 1 of 1

Which is the correct syntax of defining a pure virtual function?

Posted: Wed Jul 13, 2022 7:52 pm
by answerhappygod
a) pure virtual return_type func();
b) virtual return_type func() pure;
c) virtual return_type func() = 0;
d) virtual return_type func();