[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

9 / 61

What will be output of the following "c" code?

#include<stdio.h>
int main() { 
int i;
for(i=0;i<5;i++){
int i=10;
printf(" %d",i);
i++;
}
return 0;
}

A10 11 12 13 14

B10 10 10 10 10

C0 1 2 3 4

DInfinite loop

Answer: Option (Login/Signup)

Show Explanation

Asked In ::

Post Your Answer Here:     

No Discussion on this question yet!