Which one of the following is the correct way to declare a pure virtual function? - Study24x7
Social learning Network
27 Mar 2023 12:13 PM study24x7 study24x7

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;

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles