Задача Задача №3622644
А
А
Evaluation (typical boolean/logical model):
- 3*2 > 5 -> 6 > 5 -> true
- Now evaluate -1 OR true
In boolean terms, -1 is truthy (nonzero), so the OR is true.
Exact result depends on language:
- Pure boolean value: True
- Python: -1 or True -> -1 (because -1 is truthy and 'or' returns the first truthy operand)
- C/C++: -1 || (3*2>5) -> 1 (true) due to short-circuit and result of || being 0 or 1
If you let me know the language you’re studying, I can give the exact final value for that language.
