What is Short-circuit evaluation?
A way of evaluating the logical operators and and or that skips the right side when the left side alone decides the result. With and, the right side is not evaluated if the left side is false; with or, if the left side is true. It is often used to prevent out-of-range accesses by putting the array range check on the left.
Japanese name: 短絡評価
Short-circuit evaluation appears in 4 practice questions across 3 topics, including Programming Basics (Pseudocode Tracing), C Programming Basics, Software Development and Project Management.