[Solved] Output of the below C Code [duplicate]


See
Short-circuit evaluation.

Essentially what’s happening is that as l++=3 which is not 0, it evaluates to True (only 0 would be False). Thus, the second part of the expression after || is not evaluated.

3

solved Output of the below C Code [duplicate]