Danh Trịnh
New member
What will be the output of the following C code?
A. 1
B. Compile time error
C. Floating point exception
D. Segmentation fault
Code:
#include <stdio.h>
int main()
{
int x = 3, y = 2;
int z = x /= y %= 2;
printf("%d\n", z);
}
B. Compile time error
C. Floating point exception
D. Segmentation fault