|
| Total Answers and Comments: 3 |
Last Update: July 02, 2008 Asked by: vrijesh28 |
|
| | |
|
Submitted by: Dan Dancescu The output is 11 30, because "++" is a postfix operator (applied after the operation) so the value that gets assigned to b is the initial value of a, which is 10, plus 20.
So b will be 30. Then a is incremented by 1, so a becomes 11.
Therefore this program prints out 11 30
Above answer was rated as good by the following members: rajani_vaddepalli15 | Go To Top
|