OOPS Concepts

Q1: Which one of the following is the correct way to declare a pure virtual function?

A virtual void Display(void) = 0;

B virtual void Display = 0;

C virtual void Display(void){0};

D void Display(void) = 0;

ANS:C - virtual void Display(void) = 0;

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.