MCQOPTIONS
Saved Bookmarks
| 1. |
Select the suitable output for the following set of code : static void Main(string[] args) { int m = 10, n = 5, p = 20; bool b1 = m * p / n <= p * n / m ; int l = p - 2 * m; bool b2 = l == 0; int z = Convert.ToInt32(b2); int k = Convert.ToInt32(b1); Console.WriteLine(k); Console.WriteLine(z); } |
| A. | 0 0 |
| B. | 1 0 |
| C. | 0 1 |
| D. | 1 1 |
| Answer» D. 1 1 | |