What is the output of the following C Program?


Loading

โœช Choose the correct option.

What is the output of the following C Program?


#include

void main()

{

for (i =1,j = 10; i < 6; ++i, - -j)

printf("%d%d", i,j);

}

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

Leave a Comment