课程
/后端开发
/C
/C语言入门
为啥下边的不加单引号
2015-11-03
源自:C语言入门 2-8
正在回答
谢谢哦
举报
C语言入门视频教程,带你进入编程世界的必修课-C语言
1 回答#include <stdio.h> int main() { char c = 'a'; int n = c ; //将c赋值给n float f = c ; //将c赋值给f double d = c ; //将c赋值给d printf("%d\n",n); printf("%f\n",f); printf("%lf\n",d); return 0; }
4 回答#include <stdio.h> int main() { char c = 'a'; int n = c ; //将c赋值给n float f = c; //将c赋值给f double d = c; //将c赋值给d printf("%d\n",n); printf("%f\n",f); printf("%lf\n",d); return 0; }
3 回答#include <stdio.h> int main() { char c = 'a'; int n = c //将c赋值给n float f = n //将c赋值给f double d = f //将c赋值给d printf("%d\n",n); printf("%f\n",f); printf("%lf\n",d); return 0; }
1 回答#include <stdio.h> int main() { char c = 'a'; int n =c; //将c赋值给n float f =c; //将c赋值给f double d =c; //将c赋值给d printf("%d\n",n); printf("%f\n",f); printf("%lf\n",d); return 0; }
2 回答#include <stdio.h> int main() { char c = 'a'; int n = c; //将c赋值给n float f = c; //将c赋值给f double d = c; //将c赋值给d printf("%d\n",n); printf("%f\n",f); printf("%lf\n",d); return 0; }