Given two conditions with the && compound. I know that the evaluation order is from left to right. But if the first condition allows false, then the second condition is guaranteed not to be evaluated?
#define SIZE bool array[SIZE]; int index;
In this example, if the first condition is false, the second should not be evaluated, since access in the array will be out of range.
By the way, I cannot just nest conditional expressions with two if , since in fact I need the opposite, like (!(in_range && get_element)) . With nested statements, I will need to use goto to jump over the code block below this.
source share