CJCoding With Joseph
15free / daySign inCreate account
Back to Code Walkthrough

Two Names for One Array

C# code walkthrough · Question 13
mediumArrays

Code

Read carefully. What does this print?
1int[] a = { 1, 2, 3 };
2int[] b = a;
3b[0] = 99;
4Console.WriteLine(a[0]);

Your answer