return stack[depth-1];
return stack[--depth];
/* Implement a toy stack version of push */ stack[depth++] = n;