[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

C Programming :: Loop Control - Discussion

Home > C Programming > Loop Control > MCQs Questions Discussion

26 / 61

What is the output of the following C Program?

#include<stdio.h>
void main()
{
 for (i =1,j = 10; i < 6; ++i, - -j) 
 printf("%d%d", i,j);
}

A1 10 2 9 3 8 4 7 5 6

B1 2 3 4 5 10 9 8 7 6

C1 1 1 1 1 9 9 9 9 9

Dnone of these

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!