Q150
What will be the output of the following C# 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
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board