不知道哪里错了
#include <stdio.h>
int main()
{
char c = 'a';
int n = 97 //将c赋值给n
float f = 97.000000 //将c赋值给f
double d = 97.000000 //将c赋值给d
printf("%d\n",n);
printf("%f\n",f);
printf("%f\n",d);
return 0;
}
#include <stdio.h>
int main()
{
char c = 'a';
int n = 97 //将c赋值给n
float f = 97.000000 //将c赋值给f
double d = 97.000000 //将c赋值给d
printf("%d\n",n);
printf("%f\n",f);
printf("%f\n",d);
return 0;
}
2022-07-03
举报