MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the given code snippet? class Program { static void Main(string[] args) { double x = 3.14; int y = (int) Math.Ceiling(x); Console.WriteLine(y); } } |
| A. | 0 |
| B. | 3 |
| C. | 3.0 |
| D. | 4 |
| Answer» E. | |