Sail E0 Webinar
Question
What is the output of this C code?    int x = 5;    void main()    {        int x = 3;        printf("%d", x);        {            int x = 4;        }        printf("%d", x);    }
Options:
A .  3  3
B .  3  4
C .  3  5
D .  Run time error
Answer: Option A


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