MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the given code snippet? class Program { static void Main(string[] args) { int y = (int)Math.Max(4,2); int z = (int)Math.Pow(y, 2); Console.WriteLine(z); Console.ReadLine(); } } |
| A. | 4 |
| B. | Compile time error |
| C. | 16 |
| D. | 89 |
| Answer» D. 89 | |