A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. 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;
Answer:virtual void Display(void) = 0;
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here