Structures - Programming

Q1:

When would a structure variable get destroyed?

A When no reference refers to it, it will get garbage collected.

B Depends upon whether it is created using new or without using new.

C When it goes out of scope.

D Depends upon the Project Settings made in Visual Studio.NET.

E Depends upon whether we free it's memory using free() or delete().

ANS:C - When it goes out of scope.

No answer description is available. Let's discuss.