Sail E0 Webinar
Question
What is the output of this C code?    void main()    {        int a = 5, b = -7, c = 0, d;        d = ++a && ++b || ++c;        printf("\n%d%d%d%d", a, b, c, d);    }
Options:
A .  6  -6  0  0
B .  6  -5  0  1
C .  -6  -6  0  1
D .  6  -6  0  1
Answer: Option D


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