Sail E0 Webinar
Question
What is the output of this C code?    int main()    {        int a = 1, b = 2;        a += b -= a;        printf("%d %d", a, b);    }
Options:
A .  1   1
B .  1   2
C .  2   1
D .  2   2
Answer: Option C


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