代码:
#include <stdio.h>
#include <windows.h>
#include <math.h>
int main()
{
int x=2,y=7;
//逗号表达式说明:逗号表达式优先级低于赋值表达式
x = y, x+4; //x 结果为7
//x = (y, x+4); //x结 果为6
printf("x=%d,y=%d\n",x,y);
system("pause");
return 0;
}