1.

Select the output for following set of code : static void Main(string[] args) { int a = 5; fun1 (ref a); Console.WriteLine(a); Console.ReadLine(); } static void fun1(ref int a) { a = a * a; }

A. 5
B. 0
C. 20
D. 25
Answer» E.


Discussion

No Comment Found