Hi everyone,

In C# there is a difference between logical (& |) and conditional (&& ||) boolean operators. The conditional operators (AND &&) and (OR ||) only evaluate the right operand if the left operand evalutes to TRUE or FALSE respectively.

Are there also two kinds of boolean operators in C++ or are there only && and ||? And if so, are these just plain logical (i.e. both operands are always evaluated regardless of the value of the first one) or are they conditional?


Thanks for the help,
Flecto