Home / C# Programming / Structures :: Discussion

Discussion :: Structures

  1. When would a structure variable get destroyed?

  2. 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().

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment