MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following are the correct way to initialise the variables i and j to a value 10 each? int i = 10; int j = 10; int i, j; i = 10 : j = 10; int i = 10, j = 10; int i, j = 10; int i = j = 10; |
| A. | 2, 4 |
| B. | 1, 3 |
| C. | 3, 5 |
| D. | 4, 5 |
| Answer» C. 3, 5 | |