Sail E0 Webinar
Question
Comment on the output of this C code?    void main()    {        float x = 0.1;        printf("%d, ", x);        printf("%f", x);    }
Options:
A .  0.100000, junk value
B .  junk value, 0.100000
C .  0, 0.100000
D .  0, 0.999999
Answer: Option B


None.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers