Why do you not get an undefined reference in virtual table error when you don’t define a pure virtual function?
What will be an ideal response?
Because you write the member function without a body and you cannot create an object of the class that contains a pure virtual function. Its body is replaced by =0.
Computer Science & Information Technology
You might also like to view...
The most common example of ____ data is the human voice.?
A. ?sampling B. ?baud C. ?digital D. ?analog
Computer Science & Information Technology
Each member of a structure is accessed by giving both the structure name and individual data item name, separated by a ____.
A. @ B. -> C. : D. .
Computer Science & Information Technology