可能是一个愚蠢的问题,但我只是好奇.变量*temp和*perm在这个结构中意味着什么?
struct process {
int id;
char name;
} *temp, *perm;
Run Code Online (Sandbox Code Playgroud)
Nin*_*rry 10
短版
struct process {
int id;
char name;
};
process *temp;
process *perm;
Run Code Online (Sandbox Code Playgroud)
这声明了一个名为process的结构类型,然后声明了两个变量,它们是处理结构的指针.
| 归档时间: |
|
| 查看次数: |
90 次 |
| 最近记录: |