* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * typedef struct date { int year; int month; int day; } DATE; DATE birthday; DATE *p; typedef int Status; Status initialization(void); typedef int NUM[100]; NUM a; typedef char *STRING; STRING p; 为已有类型引入一个同义词的方法: ①声明变量 ②将变量名换成新类型名 ③在最前面加上typedef ④使用新类型名声明变量 int a[100]; int NUM[100]; typedef int NUM[100]; NUM a; * * * * * * * * * * * * * * * *
原创力文档

文档评论(0)