下列错误的是()
short m,n;
double f1,f2;
char ch1,ch2;
int a,b
变量定义语句的一般格式:数据类型符 变量名1[,变量名2,…];,故int a,b格式不正确,应写成int a,b;。