2.1 C的数据类型
2.1.1 c语言关键字
c的关键字共有32个
数据类型关键字(12个)
char,short,int,long,float,double,unsigned,signed,struct,union,enum,void
控制语句关键字(12个)
if,else,switch,case,default,for,do,while,break,continue,goto,return
存储类关键字(5个)
auto,extern,register,static,const
其他关键字(3个)
sizeof,typedef,volatile
2.1.2数据类型
数据类型的作用;编译器预算对象(变量)分配的内存空间大小