Sail E0 Webinar
Question
What is the output of this C code? (7 and 8 are entered)    void main()    {        float x;        int y;        printf("enter two numbers \n", x);        scanf("%f %f", &x, &y);        printf("%f, %d", x, y);    }
Options:
A .  7.000000, 7
B .  Run time error
C .  7.000000, Junk
D .  Varies
Answer: Option C


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