C语言部分关键字
·
//常见关键字
// auto break case char const continue default do else double enum extern float for goto if
//int long register return short signed sizeof static struct switch typedef union unsigned void volatile while
//auto
//int main() {
// int a = 10;
// //自动变量 auto int a = 10;
//
//}
//switch case default
//for while do while break goto; continue 循环
// char int short long double float 类型
//const 修饰变量表示常属性
//if else
//enum枚举 struct结构体 union联合体
//extern声明外部符号
//redister 寄存器
//return 函数返回值
//signed 有符号的
//static静态的
//typedef
//void 空函数的返回类型 函数参数
//变量的命名
//1.有意义
//2.名字必须是字母数字下划线不能有特殊字符 不能以数字开头
//3.变量名不能是关键字
更多推荐

所有评论(0)