Задача Задача №3621700
А
А
It depends on the language and how OR is defined.
Step: 3*2>5 evaluates to true (since 6>5).
- In Python (using or): -1 or True -> -1 (because -1 is truthy, it returns the first truthy value).
- In JavaScript (||): -1 || (6>5) -> -1 (first operand is truthy, so it returns -1).
- In C/C++ (||): -1 || 1 -> 1 (logical OR yields 1 if any operand is nonzero).
If you were thinking of bitwise OR (|) instead of logical OR, results differ again.
If you tell me the exact language, I can give the precise value.
