typedef
功能:类型定义,可理解为类型重命名,即起别名。只能对类型使用
typedef unsigned int uint; //unsigned int 等价于 uint
//即给unsigned int起了个新名字叫uint
typedef struct Node
{
int data;
struct Node* Next;
}node; //struct Node等价于node
int main()
{
//num1和num2的类型定义等价
unsigned int num1=0;
uint num2=0;
//n1和n2的类型定义等价
struct Node n1;
node n2;
return 0;
}