+ 9
C logical AND & OR operator
Why when i use && operator value of z doesn’t change and when i use || operator change ?!! https://code.sololearn.com/cqG82HfrYSY7/?ref=app
2 odpowiedzi
+ 4
The expression after the && operator is not evaluated, because the first argument equals zero. „ 0 && anything“ is always false, so there is no need to calculate z++, so z remains 5.
+ 4
thank u 🌺🌺