Structures - Programming

Q1:

Which of the following will be the correct output for the program given below?
namespace AptitudeCrackConsoleApplication
{ 
    struct Sample
    {
        public int i;
    }
    class MyProgram
    { 
        static void Main(string[] args)
        {
            Sample x = new Sample();
            Sample y;
            x.i = 9;
            y = x;
            y.i = 5;
            Console.WriteLine(x.i + ' ' + y.i); 
        } 
    } 
}

A 9 9

B 9 5

C 5 5

D 5 9

E None of the above

ANS:B - 9 5

No answer description is available. Let's discuss.