adplus-dvertising
frame-decoration

Question

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

a.

10

b.

5

c.

4

d.

6

Answer: (c).4

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?