What will be the output of the following C code? [code] #include <stdio.h> int main() { int x = 3, y = 2; int

Danh Trịnh

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

Tìm kiếm

Back
Top