adplus-dvertising
frame-decoration

Question

How many x are printed?
for(i=0,j=10;i < j;i++,j--) 
        printf("x");

a.

10

b.

5

c.

4

d.

6

Posted under C Programming

Answer: (b).5

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How many x are printed?