什么是两者之间的区别?
typedef struct node *node_ref;
typedef char *cstring;
struct node {
cstring string;
node_ref link;
};
并且
typedef struct node *node_ref;
struct node {
char string;
node_ref link;
};
我的程序使用任何一种声明都可以正常编译,没有任何警告,所以我不知道这有什么区别。