MCQOPTIONS
Saved Bookmarks
| 1. |
Select the output for the following code : static void Main(string[] args) { switch (5) { case 5.0f: Console.WriteLine("Jhon"); break; case 5: Console.WriteLine("Ammar"); break; case 5.0L: Console.WriteLine("Tailor"); break; default: Console.WriteLine("Sara"); } Console.ReadLine(); } |
| A. | Ammar |
| B. | Tailor |
| C. | Jhon |
| D. | Sara |
| Answer» F. | |