Vidyalelo
C# Programming · Q62

Arrays and Strings in C Sharp

Programming · C# Programming · question 62

Q62

What will be the output of the following C# code? static void Main(string[] args) int[] x = 80, 82, 65, 72, 83, 67 ; fun(x); Console.ReadLine(); static void fun(params int [] b ) int i; for (i = 5; i >=0 ; i--) Console.WriteLine(Convert.ToChar(b[i]));

A.
67 83 72 65 82 80
B.
P R A H S C
C.
C S H A R P
Answer
D.
80 82 65 72 83 67

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board