int x=5 ;
int sum=7
sum=sum+(x++);
Answers
Answered by
1
Answer:
- Error: In second line of code ; is missing
- If that was a typing mistake then sum = 12.
Explanation:
x=5; sum=7;
sum=sum+(x++);
sum = 7 + (5++);
sum = 7+5 = 12;
Similar questions