#define S(x) 4*x*x+1 main() { int i=6,j=8; printf("%d\n",S(i+j)); }

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/08 01:51:03

#define S(x) 4*x*x+1 main() { int i=6,j=8; printf("%d\n",S(i+j)); }
#define S(x) 4*x*x+1 main() { int i=6,j=8; printf("%d\n",S(i+j)); }

#define S(x) 4*x*x+1 main() { int i=6,j=8; printf("%d\n",S(i+j)); }
# include
#define S(x) 4*x*x+1
void main() {
int i=6,j=8;
int sum;
sum = i+j;
//下面输入的两个结果是不同的:
printf("%d\n",S(sum));
printf("%d\n",S(i+j));
}
运行结果:
785
81
Press any key to continue