adplus-dvertising
frame-decoration

Question

Find output of following :
int i=5;
do{putchar(i+100);printf("%d",i--);}
while(i);

a.

i5h4g3f2e1

b.

14h3g2f1e0

c.

An error message

d.

Infinite Loop

Posted under C Programming

Answer: (a).i5h4g3f2e1

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Find output of following :