#include<stdio.h>

 

void<

Loading

Choose the correct option.

#include

 

voidmain()

{

    inti=1,j=1;

    while(++i < 10)

        printf("%d ",i);

        printf(" ");

    while(j++ < 10)

        printf("%d ",j);

}

what is the output ?

A. 1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
B. 1 2 3 4 5 6 7 8 9 
1 2 3 4 5 6 7 8 9 10
C. 2 3 4 5 6 7 8 9
2 3 4 5 6 7 8 9 10
D. 2 3 4 5 6 7 8 9 
1 2 3 4 5 6 7 8 9 10

Leave a Comment