Sail E0 Webinar
Question
What is the output of this C code?    void main()    {        int x = 4.3 % 2;        printf("Value of x is %d", x);    }
Options:
A .  Value of x is 1.3
B .  Value of x is 2
C .  Value of x is 0.3
D .  Compile time error
Answer: Option D


None.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :


Latest Videos

Latest Test Papers