1.

When does a structure variable get destroyed?

A. When no reference refers to it,it will get garbage collected
B. Depends on whether it is created using new or without new operator
C. As variable goes out of the scope
D. Depends on either we free its memory using free() or delete()
Answer» D. Depends on either we free its memory using free() or delete()


Discussion

No Comment Found