½º ÅÃ(Stack)
¡á ½ºÅÃÀÇ ¹è¿ ±¸Çö ---> ½ºÅÃÀÇ PUSH ¿Í POP
[ push ÇÔ¼ö ]
void push(int x, STACK S){ if(is_full(S)) error("Full stack"); else S->array[++S->top]=x;}
[ pop°ú Ãâ·Â ÇÔ¼ö ]
int pop(STACK S){ if(is_empty(S)) error("Empty stack"); else return S->array[S->top--];}