#define max(x,y,z) ((x)>(y)?(x):(y))>(z)?((x)>(y)?(x):(y)):(z)
#define min(x,y,z) ((x)<(y)?(x):(y))<(z)?((x)<(y)?(x):(y)):(z)
#include <stdio.h> #define max(x,y,z) ((x)>(y)?(x):(y))>(z)?((x)>(y)?(x):(y)):(z) #define min(x,y,z) ((x)<(y)?(x):(y))<(z)?((x)<(y)?(x):(y)):(z) int main(void) { unsigned int a,b; a = min(3,1,6); b = max(6,7,8); printf("a=%d ",a); printf("b=%d ",b); return 0; }