and or in c++

C++
int x, y;
if (x < y){
  //code
}





( (5 == 5) && (3 > 6) )  // evaluates to false ( true && false )
( (5 == 5) || (3 > 6) )  // evaluates to true ( true || false ) 
Source

Also in C++: