赞
踩
- //2023.9.14
- #include <stdio.h>
-
- //int main()//printf是打印 ,\n是换行
- //{
- // printf("review\n");
- // printf("never give up\n");
- // return 0;
- //}//第一个代码
-
-
-
- //有以下几种数形与其大小
- //char //字符数据类型 1
- //short //短整型 2
- //int //整形 4
- //long //长整型 4
- //long long //更长的整形 8
- //float //单精度浮点数 4
- //double //双精度浮点数 8
- //long double 8
- C语言有没有字符串类型?
-
-
- //int main()//sizeof是 尺寸的意思
- //{
- // printf("%d\n", sizeof(0.2));//似乎是数字的准确度可以对应不同的类型
- // printf("%d\n", sizeof(short));
- // printf("%d\n", sizeof(int));
- // printf("%d\n", sizeof(long));
- // printf("%d\n", sizeof(long long));
- // printf("%d\n", sizeof(float));
- // printf("%d\n", sizeof(double));
- // printf("%d\n", sizeof(long double));
- //
- // return 0;
- //}
-

Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。