MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the final values of a and c in the following C statement? (Initial values: a = 2, c = 1) c = (c) ? a = 0 : 2; |
| A. | a = 0, c = 0; |
| B. | a = 2, c = 2; |
| C. | a = 2, c = 2; |
| D. | a = 1, c = 2; |
| Answer» B. a = 2, c = 2; | |