If delete is applied to an object whose l-value is modifiable, then _______________ after the object is deleted.

If delete is applied to an object whose l-value is modifiable, then _______________ after the object is deleted.
A. Its value is defined as null
B. Its value is defined as void
C. Its value is defined as 0
D. Its value is undefined
 
Answer: d
Explanation: After performing delete operation on an object whole l-value is modifiable, its values becomes undefined. This is done so as to denote that the memory space is available to be used for other purposes.
 

Tìm kiếm

Back
Top