Sail E0 Webinar
Question

What is the error in the following code?
class t
{
virtual void print();
}


Options:
A .  No error.
B .  Function print() should be declared as static.
C .  Function print() should be defined.
D .  Class t should contain data members.
Answer: Option A



Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers