Nguyễn Thị Thuý
New member
What will be the output of the following C code?
A. 6
B. 5
C. 0
D. Varies
Code:
#include <stdio.h>
void main()
{
int x = 1, y = 0, z = 5;
int a = x && y && z++;
printf("%d", z);
}
B. 5
C. 0
D. Varies