| C Sharp Study App Free Download | Structures e-Book PDF | MCQ 213" />
C Sharp MCQs (Computer Science) From Textbook
Free C Sharp Study App Download | Structures Book PDF
C Sharp MCQs – Certification Test 213
The correct output for the given code is
struct Sample
{
public int i;
}
class MyProgram
{
static void Main()
{
Sample x = new Sample();
x.i = 10;
fun(x);
Console.Write(x.i + " ");
}
static void fun(Sample y)
{
y.i = 20;
Console.Write(y.i + " ");
}
}
The App: Structures Notes App to study Structures Notes, C Sharp Notes App, and Software Engineering Notes App. Free "C Sharp Study App" Download: Structures App (Android & iOS) for online master programs. Download Play Store & App Store Study Apps with all functionalities for programming certifications.