#include <math.h> varargs int min(a,b,c,d) { return MIN(a,b,c,d); } varargs int max(a,b,c,d) { return MAX(a,b,c,d); }