数据结构中*S->top++ = e怎么理解?

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/03 16:40:19
数据结构中*S->top++ = e怎么理解?

数据结构中*S->top++ = e怎么理解?
数据结构中*S->top++ = e怎么理解?

数据结构中*S->top++ = e怎么理解?
S->top 是变量
含义就是:
*(S->top)=e; // 先对指针指向的块送值
S->top=S->top+1; // 再指针增一