The return type of these functions is the same as the (larger) type of the arguments. type must be one of char, int or real.
real x = 2.567, y = 3.14; printf("The maximum is %f\n", max(x, y));