定义一个宏,比较两个数字a,b的大小,不能使用大于,小于,if语句。 unsigned int: #define MAX(a, b) ((a/b) ? (a) : (b)) int: #define MAX(a, b) (((a-b) & 0x8000000) ? (b) : (a))