+1 vote
in C Plus Plus by
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

+1 vote
asked Jun 13, 2019 in C Plus Plus by Derya
+1 vote
asked Jun 13, 2019 in C Plus Plus by Derya
...