CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

Array Reference Aliasing

C# quiz · Question 20
hardArrays

What does this code print?

Code

1int[] a = { 1, 2, 3 };
2int[] b = a;
3b[0] = 99;
4Console.WriteLine(a[0]);