C语言提供了丰富的关键字,这些关键字都是语言本身预先设定好的,用户自己是不能创造关键字的。
C语言的关键字有如下:auto ,break,char,const,continue,default,to ,double ,else ,enum ,extern ,float ,for ,goto ,if ,int ,long ,register ,return ,short ,signed ,sizeof ,static ,struct ,switch ,typedef ,union ,unsigned ,void ,volatile ,while
给他们分类: 1:auto 自动 2: 循环 3: 分支 4:数据类型 5:修饰类型
extern 声明外部符号的 break break char const
rogister 寄存器 continue switch case double signed
static do while default float unsigned
for if else int typedef
while goto long
short
void
函数的返回: 自定义类型: 计算机变量/类型大小的
return -返回值 enum--枚举类型 单位是字节
struct --结构体类型 sizeof
union--联合体类型