單項選擇題向一個棧頂指針為hs的鏈棧中插入一個*s結點時,應執(zhí)行()。

A.hs->next=s;
B.s->next=hs;hs=s;
C.s->next=hs->next;hs->next=s;
D.s->next=hs;hs=hs->next;


您可能感興趣的試卷