Discussion :: C#.Net MCQs
-
What will be the output the of given set of code? static void Main(string[] args){int [] a = {1, 2, 3, 4, 5};fun(a);Console.ReadLine();}static void fun(params int[] b ){for (int i = 0; i < b.Length; i++){b[i] = b[i] * 5 ;Console.WriteLine(b[i] + "");}}
Answer : Option B
Explanation :
Be The First To Comment