1.

Converting for loop into while loop:for(i=1;i

Answer»

Show the OUTPUT for the following C code snippets and draw a flowchart for each of them.

for(i = 2; i <= 6; i = i + 2)

printf("%d\t", i + 1);

for(i = 2; i != 11; i = i + 3)

printf("%d\t", i + 1);

for(i = 2; i == 2; i = i + 1)

printf("%d\t", i + 1);



Discussion

No Comment Found