if statement shorthand c

int result = (x > y) ? x : y;