1)

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

class Trial
{
int i;
float d;
}


struct Sample
{
private int a;
private Single b;
private Trial t;
}


Sample s = new Sample();


A) trial object referred by t is created on the stack

B) t is created on the heap

C) Both s and t will be created on the heap

D) s will be created on the stack

Answer:

Option D