*pVal = r->data; /* 为什么pVal = &(r->data)不行 */
RT
int PopStack(PSTACK pS,int *pVal){ if (Isempty(pS)) { printf("栈已为空,出栈失败!\n"); return FALSE; } else { PNODE r = pS->pTop; pS->pTop = r->pNext; *pVal = r->data; /* 为什么pVal = &(r->data)不行 */ free(r); r = NULL; return TRUE; }}