Computer Science, asked by annzel8306, 10 months ago

I=5;
C=I++ + ++I + I++;
Printf(I, C);

Answers

Answered by queen318
0

Answer:

So , the value of I =8

and C=19

Explanation:

C=5+7+7

=19

AS PER your QUESTION...

C=I++ + ++I + I++

I++ means that ,first you have to print the value as 5 and then increase it by 1, so now the value of I is 6 and we will print the value as 5.Now put the addition sign as given(5+..). second one is ++I which means that first we have to increase the value of I which will be now as 7 and we will print the value as 7....similarly we will do the third part in which the value to I will increase to 8 and we will print the value as 7..bcoz we have to first print the value and the increase it...

HOPE SO IT HELPS YOU...

Similar questions