- C Sharp Learning App Download - Structures e-Book PDF - 213" />
Structures Learning App Download - C Sharp Apps (Android & iOS)
C Sharp MCQ - Complete Course
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 MCQ App to study Structures Notes, C Sharp MCQ App, and MCQsLearn: All-in-One Courses MCQ App. The "C Sharp MCQ" App to Free Download Structures Apps (Android & iOS) for online master programs. Download App Store & Play Store study Apps with all functionalities for programming certifications.