MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output for the given set of code ? static void Main(string[] args) { object[] a = {" 1 ", 4.0f, " harsh "}; fun(a); Console.ReadLine(); } static void fun(params object[] b) { for (int i = 0; i < b.Length - 1; i++) Console.WriteLine(b[i] + " "); } |
| A. | 1 4.0 harsh |
| B. | 1 4 |
| C. | 1 4 hars |
| D. | 1 4 harsh |
| Answer» E. | |