MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the given set of code? static void Main(string[] args) { int[] x = {65, 66, 67, 68, 69, 70}; fun(x); Console.ReadLine(); } static void fun(params int[] b ) { int i; for (i = 5; i > 0 ; i--) { b[i] = b[i] + 32; Console.WriteLine(Convert.ToChar(b[i])); } } |
| A. | A, B, C, D, E, F |
| B. | F, E, D, C, B, A |
| C. | F, e, d, c, b |
| D. | B, c, d, e, f |
| Answer» D. B, c, d, e, f | |