What Will Be The Output Of The Following C Codep Pre Langcsharp #329
What will be the output of the following C# code?</p> <pre><code class="language-csharp" line="1"> { struct abc { int i; } class Program { static void Main(string[] args) { abc x = new abc(); abc z; x.i = 10; z = x; z.i = 15; console.Writeline(x.i + " " + y.i) } } } </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Object Oriented Concepts - Structures - Quiz No.2.