Examveda
Examveda

What will be the output of the following C 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

Answer: Option C


This Question Belongs to C Program >> C Fundamentals

Join The Discussion

Related Questions on C Fundamentals