問答題

【簡答題】

以下函數(shù)為鏈棧的進棧操作,x是要進棧的結(jié)點的數(shù)據(jù)域,top為棧頂指針。

答案:

sizeof(structnode)
P->next=top
top=p

微信掃碼免費搜題