A
Q. What is the output of the following code?
Code:
int main() {
int i;
for(i = 0; i < 5; i++);
printf("%d", i);
return 0;
}
int i;
for(i = 0; i < 5; i++);
printf("%d", i);
return 0;
}
- Correct Answer - Option(B)
- Views: 42
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.