#include
#define max(a,b) a>b?a:b
void main()
{
int i,j;
scanf("%d%d",&i,&j);
printf("%d\n",max(i,j));
}
#include
#include
int max(int a,int b)
{
int max;
if(a>b)
max=a;
else
max=b;
return max;
}
void main()
{
int a,b;
scanf("%d%d",&a,&b);
printf("MAX is %d\n",max(a,b));
system("PAUSE");
}
#define MAX(x, y) ({
typeof(x)_x = x;\
typeof(y)_y = y;\
(void)(&x == &y);
(_x > _y ? _x : _y);})
#define MAX(A,B) (A) > ( B ) ? (A) : (B)
最好加(),不然容易出错