InterviewSolution
Saved Bookmarks
| 1. |
Evaluate the following (Also show the working), int x=6; x+=x++ - ++x * 5; |
|
Answer» x = x++ + ++y; (1) y = ++x + ++y; (2) In (1) this is the FOLLOWING OPERATIONS to be DONE. i) ++y ii) x = x+y III) x ++ In (2) this is the following operations to be done. i) x ++ ii) y++ iii) y = x + yExplanation: |
|