轉載自:
https://blog.csdn.net/Mary19920410/article/details/71518130
一、C語言基本數據類型回顧
在C語言中有6種基本數據類型:short、int、long、float、double、char
1、數值類型
1)整型:short、int、long
2)浮點型:float、double
2、字符類型:char
二、typedef回顧
typedef用來定義關鍵字或標識符的別名,例如:
typedef double wages;
typedef wages salary;