If int y = 12 then find
int z = (++y * (y++ + 7));
Answers
Answered by
1
Answer:
I know Java so I can answer this
++y = 13
so
y++ + 7
12+7+1
20
20*13
260
Therefore int z= 260
hope it helps
Answered by
1
Answer:
PREFIX OPERATORS:
They work on the principal of CHANGE BEFORE ACTION.
POSTFIX OPERATERS:
They work on the principal of CHANGE AFTER ACTION.
____________
Hope it helps
Attachments:
Similar questions