0

What is the output of this code. Explain

static int Test(out int x, int y=4) { x = 6; return x * y; } static void Main(string[] args) { int a; int z = Test(out a); Console.WriteLine(a + z); }

5th Feb 2017, 5:58 AM
Christopher
1 Answer
+ 1
24
5th Feb 2017, 6:32 AM
Ned Alturas
Ned Alturas - avatar