小白菜提问题
#include <stdio.h>
int main(){
int a,b=322;
float x,y=8.88f;
char c1='k',c2;
a=y;
x=b;
a=c1;
c2=b;
printf("%d,%f,%d,%c",a,x,a,c2);//x=322.00000,a=107,c2=322
return 0;
}
为什么x=322.00000,a=107,c2=322 求解释
#include <stdio.h>
int main(){
int a,b=322;
float x,y=8.88f;
char c1='k',c2;
a=y;
x=b;
a=c1;
c2=b;
printf("%d,%f,%d,%c",a,x,a,c2);//x=322.00000,a=107,c2=322
return 0;
}
为什么x=322.00000,a=107,c2=322 求解释
2017-10-11
举报