syntax error : ','求解
#includeint main()
{int a,b;
float d,e;
char c1,c2;
double f,g;
long m,n;
unsiguld int p,q;
a=61,b=62;
c1='a',c2='b';
d=3.56,e=-6.87;
f=3157.890121,g=0.123456789;
m=50000,n=-60000;
p=32768,q=40000;
printf("a=%d b=%d\nd=%6.2f c1=%c c2=%c\ne=%6.2f\n",a,b,c1,c2,d,e);
printf("f=%15.6f g=%15.12f\nm=%ld n=%ld\np=%u q=%u",f,g,,m,n,p,q);
return 0;
}
错误原因 error C2059: syntax error : ','
执行 cl.exe 时出错.