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 top element in the hierarchy is the html element, which contains all of the other elements within an HTML file.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Programming objects that refer to the values stored in RAM are ________

A) placers B) variables C) holders D) macros

Computer Science & Information Technology

The ________ allows you to edit programming code for existing macros

A) Start Macro button B) Add-In dialog box C) Visual Basic Editor, VBE D) Record Macro dialog box

Computer Science & Information Technology

A(n) ________ is a visual display of tabulated frequencies.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology