1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int p = 0, k = 0, q = 1;
for (k = 0; k < 10; k++)
{
p++;
q++;
continue;
}
printf("%d, %d", p, q);
}

A. 0, 10
B. 10, 0
C. 11, 10
D. 10, 11
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs