• 2022-05-31
    链式栈结点为(data,next),top指向栈顶,若想摘除栈顶结点,并将删除结点的值保存在x中,则应执行的操作为()
    A: x = top->;data; top = top->;next;
    B: top = top->;next; x = top->;next;
    C: x = top; top = top->;next;
    D: x = top->;next;