申明变量不能用a=b=25, 应该是 a=25,b=25a+b=c ,赋值语句应该是左边为变量 c=a+bprintf ( "a+b=c" , a, b,c); 输出语句,如果有参数的话需要设置传入的参数以何种类型进行显示 ,应该用%d,printf ( "%d+%d=%d" , a, b,c);