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...

What type of drive is best used in a rugged terrain such as building the ice roads in Alaska?

A) SCSI B) eSATA C) SATA D) SSD

Computer Science & Information Technology

A dual-homed host has a single NIC with two MAC addresses.

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

Computer Science & Information Technology