Discussion :: C-MCQs
-
What is the output of this C code?
int main()
{
int i = 0, j = 0;
for (i; i < 2; i++){
for (j = 0; j < 3; j++){
printf("1\n");
break;
}
printf("2\n");
}
printf("after loop\n");
}
Answer : Option C
Explanation :
none
Be The First To Comment