1)

Select the correct statement about the C#.NET code given below?

struct Person
{
private String name;
private int age;
private string pin_code;
}
Person p = new Person();


A) New structure can be inherited from struct book

B) When the program terminates, variable p will get garbage collected

C) The variable ā€˜p’ will be created on the stack

D) The variable ā€˜p’ will be created on the heap

Answer:

Option C