A short-circuit evaluation is where each part of an expressi…