Sail E0 Webinar
Question
What is the output of this C code?    int main()    {        int a = 10;        if (a == a--)            printf("TRUE 1\t");        a = 10;        if (a == --a)            printf("TRUE 2\t");    }
Options:
A .  TRUE 1
B .  TRUE 2
C .  TRUE 1  TRUE 2
D .  No output
Answer: Option C


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