Sail E0 Webinar
Question
What is the output of this C code?    void main()    {        m();        printf("%d", x);    }    int x;    void m()

    {        x = 4;    }

Options:
A .  4
B .  Compile time error
C .  0
D .  Undefined
Answer: Option B


None.



Was this answer helpful ?

Submit Solution

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

Latest Videos

Latest Test Papers