Ngô Thị Vân
New member
What will be the output of the following C code?
A. 5, 5
B. 5, 10
C. 10, 10
D. Syntax error
Code:
#include <stdio.h>
int main()
{
int i = 0, j = 0;
while (i < 5, j < 10)
{
i++;
j++;
}
printf("%d, %d\n", i, j);
}
B. 5, 10
C. 10, 10
D. Syntax error