#define T Stack_T
typedef struct T *T;
struct T {
int count;
struct elem {
void *x;
struct elem *link;
} *head;
}
const T stk //指针常量, const修改struct T *。地址不能被改变。
const struct T *stk //指着常量指针, const修改struct T。数据不能改变。
#define T Stack_T
typedef struct T *T;
struct T {
int count;
struct elem {
void *x;
struct elem *link;
} *head;
}
const T stk //指针常量, const修改struct T *。地址不能被改变。
const struct T *stk //指着常量指针, const修改struct T。数据不能改变。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M