Categories

Jun 13, 2019 in C++

Q: What is the output of this C code?

    #include <stdio.h>
    void main()
    {
        int x = 5.3 % 2;
        printf("Value of x is %d", x);
    }
a.Compile time error
b.Value of x is 0.3
c.Value of x is 1
d.Value of x is 2.3

Related questions

Madanswer
Jun 13, 2019 in C++
Jun 13, 2019 in C++
Jun 13, 2019 in C++
...