#include<stdio.h>
#include<stdlib.h>
int main()
{
//1. typedef给一个以存在的类型起一个名字
//2. typedef不能创建新类型
//给int起一个别名叫 len
typedef int len;
len a;//int a// 宏定义发生在预处理
//typedef是在编译阶段
return 0;
}
typedef的使用
最新推荐文章于 2023-05-06 12:42:51 发布