Sail E0 Webinar
Question

What is the output of this C code?    void main()    {        int x = 4, y, z;        y = --x;        z = x--;        printf("%d%d%d", x, y, z);    }

Options:
A .  3  2  3
B .  2  2  3
C .  3  2  2
D .  2  3  3
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