logical operator in C
Expressions connected by && or || are evaluated left to right, and evaluation stops as soon as the truth or falsehood of the result is known.
Expressions connected by && or || are evaluated left to right, and evaluation stops as soon as the truth or falsehood of the result is known.