MCQOPTIONS
Saved Bookmarks
| 1. |
Consider the following program fragment, and choose the correct onevoid main(){int a, b = 2, c;a = 2 * (b++);c = 2 * (++b);} |
| A. | = 4, c = 8 |
| B. | = 3, c = 8 |
| C. | = 3, c = 6 |
| D. | = 4, c = 6 |
| E. | = 4, c = 6 |
| Answer» B. = 3, c = 8 | |