| C Sharp MCQ App Download | Structures MCQ e-Book - 213" />

Computer Science Courses

C Sharp MCQ: App (iOS & Android) & e-Book Download

C Sharp MCQ - Complete Course

Structures MCQ App & e-Book Download - 213

MCQ: 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 + " "); } }

  1. 10,20
  2. 10,10
  3. 20,10
  4. 20,20

More MCQs from C Sharp Textbook

Structures Study App: Free Download iOS & Android Apps

The App: Structures MCQ App to study Structures Notes, C Sharp MCQ App, and C++ MCQ App. The "C Sharp" App to Free Download Structures MCQ Apps (Android & iOS) includes complete analytics with interactive assessments. Download App Store & Play Store study Apps & enjoy 100% functionality with subscriptions!

Structures  MCQ Apps (Android & iOS)

Structures MCQ App

C Sharp  MCQ Apps (Android & iOS)

C Sharp MCQ App

C++  MCQ Apps (Android & iOS)

C++ MCQ App

Distributed Computing  MCQ Apps (Android & iOS)

Distributed Computing MCQ App