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;
}
#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 ::
No Discussion on this question yet!