- 博客(2)
- 收藏
- 关注
原创 字面值。。
1概念:不能改变的量 2.分类 基本类型 |--整型 short int:没有短整型字面值 int: 100 %d long int ---- 100L %ld long long int----100LL %lld unsigned short int:没有短整型字面值 unsigned int: 34U %u unsigned long int ---- 34UL %ul...
2022-03-24 15:43:29
267
原创 局部变量和全局变量
#include <stdio.h> int g_kk = 100; void foo(int weight)//形式参数也属于局部变量 { int count = 0; printf("%d", weight);//因为没有调用foo所以没有输出结果 } int main(void) { int weight = 3; foo(weight); { int age = 0; float weight =...
2022-03-24 15:40:13
243
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人