向一个栈顶指针为hs的链栈中插入一个s结点时,应执行()。
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;
发布时间:2024-05-09 23:01:46