Which is the correct syntax of declaring a virtual function?
Which is the correct syntax of declaring a virtual function? Correct Answer virtual int func();
To make a function virtual function we just need to add virtual keyword at the starting of the function declaration.