Sail E0 Webinar
Question
What is the final value of j in the below code?    int main()    {        int i = 0, j = 0;        if (i && (j = i + 10))            //do something            ;    }
Options:
A .  0
B .  10
C .  Depends on the compiler
D .  Depends on language standard
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