📅  最后修改于: 2022-03-11 15:04:39.029000             🧑  作者: Mango
int pop() {
int data;
if(!isempty()) {
data = stack[top];
top = top - 1;
return data;
} else {
printf("Could not retrieve data, Stack is empty.\n");
}
}