CSE MCQs :: C-MCQs
-
What is the output of this C code?
int main()
{
int i = 0;
while (i = 0)
printf("True\n");
printf("False\n");
}
-
What is the output of this C code?
int main()
{
int i = 0, j = 0;
while (i < 5, j < 10)
{
i++;
j++;
}
printf("%d, %d\n", i, j);
}
- Which loop is most suitable to first perform the operation and then test the condition?