/* && would work only if both is true for example */ bool a = 1==2 && 1=< 2; // would be false /* but if they are both true it would be true */ bool a = 1==1 && 1==1; // would be true