x = (a < b)? a : b; // This is equivalent to the code: if (a < b){ x = a; // true }else{ x = b; // false }