2 ms·
Some preliminary analysis suggests that if C is an integer greater than 1, C/C++ will always evaluate to 1 [0]. [0] https://www.programiz.com/online-compiler/9
by n4r9 2y ago
Some preliminary analysis suggests that if C is an integer greater than 1, C/C++ will always evaluate to 1 [0].
[0] https://www.programiz.com/online-compiler/9fkHTct0Mybpu https://www.programiz.com/online-compiler/9fkHTct0Mybpu
- gpderetta 2y agoActually it could be 2 or 1. IIRC the order of evaluation of operator parameters is unspecified (this used to be UB, now is merely unspecified). /extremelypedantic