Math, asked by bargaje75, 10 days ago

what is valu of decriment if a=2 b=-5 c=7 ?​

Answers

Answered by poojaagee
0

int a=2,b=5,c;

c=a+++b;

printf(“%d”,c);

This will definately give the output 7

It's parsed as c = a++ + b, and a++ means post-increment, i.e. increment after taking the value of a to compute a + b == 2 + 5.

Similar questions