| Download C Sharp Study App | Structures PDF e-Book | MCQ 213" />
Practice Computer Science MCQs From Textbooks
C Sharp Study App Download | Structures PDF e-Book
C Sharp Placement Tests: 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 HCI Notes App. The "C Sharp Study" App to Free Download Structures Apps (Android & iOS) for online master programs. Download Play Store & App Store Study Apps with all functionalities for programming certifications.