Programming Languages C++ Objective
Mar 19, 2013

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

Choose the correct answer:
A) virtual void Display(void){0};
B) virtual void Display = 0;
C) virtual void Display(void) = 0;
D) void Display(void) = 0;
Detailed Explanation

Option C is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback