Sail E0 Webinar
Question
What will be the output?    double var = 8;    int main()    {        int var = 5;        printf("%d", var);    }
Options:
A .  5
B .  8
C .  Compile time error due to wrong format identifier for double
D .  Compile time error due to redeclaration of variable with same name
Answer: Option A


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