Tuyết Trinh Nguyễn
New member
What will be the output of the following C code?
A. 0 9
B. 0 8
C. 1 8
D. 1 9
Code:
#include <stdio.h>
void main()
{
int k = 8;
int x = 0 == 1 && k++;
printf("%d%d\n", x, k);
}
B. 0 8
C. 1 8
D. 1 9