What is the error in the following code?


			  		

Loading

Choose the correct option.

What is the error in the following code?

class t
{
virtual void print();
}

 

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