x+=x++ + ++x + x
If x= 4, then find the value
Answers
Answered by
2
hope this answer will be helpful
Attachments:
Answered by
1
The answer is
x=20
In ++x value if x changes in the memory directly while x++ changes value only after the command is completed
x=20
In ++x value if x changes in the memory directly while x++ changes value only after the command is completed
Similar questions
Computer Science,
4 months ago
Science,
4 months ago
Math,
8 months ago
Science,
8 months ago
Hindi,
10 months ago
Business Studies,
10 months ago