MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following are the correct ways to increment the value of variable a by 1? ++a++; a += 1; a ++ 1; a = a +1; a = +1; |
| A. | 1, 3 |
| B. | 2, 4 |
| C. | 3, 5 |
| D. | 4, 5 |
| Answer» C. 3, 5 | |