Some Objective Questions to Clarify
Listed are the objective questions.Can i know the answer pls.
1. A virtual destructor affects the behaviour of classes when...
A) A class inherits class containers from the parent class.
B) A parent class pointer is assigned the address of a derived class object.
C) A derived class inherits privately members from 2 parent classes.
D) An instance of a class without public members is deleted.
E) An object with more than one private constructor is deleted.
2. Using Win32 API's what is often overlooked when deleting a DC?
A) Deselection from the context of non-original objects.
B) Using delete[].
C) Loading the ctrl32.dll.
D) Pre-allocation of the freed resource memory for new GDI objects.
E) Sending the device context handle to a context server.
3. Which is the most serious possible result of the statement:
delete this;
A) Defragmented memory.
B) GPF.
C) Memory loss.
D) Code stack overflow.
E) This is a valid command with no ill-effects.

