#define MAX(a,b) ((a)>(b)?(a):(b))
#include<stdio.h>
int main()
{
int a = 10;
int b = 20;
int c = 0;
int arevage = 0;
c = MAX(a,b);
arevage = c + (a - b)/2;
printf("%d\n",arevage);
return 0;
}
arevage可以用来定义变量吗
为什么 int arevage = 0;可以在windows环境中运行,而在Linux中进行编译时出错
//此代码在windos32 位运结果与linux运行结果不一致