QUIZ 59

What is the output of the following code ?

int i = 7;
printf(“%dn”, i++ * i++);

a. 49
b. 56
c. 64
d. invalid expression

Answer : (b)

i++ * i++=7*8=56
After this value of i=9

Leave a Reply

Your email address will not be published. Required fields are marked *