int x[MAX];
int top=0;

int push(int n)
{
int (top>=MAX)
return(ERROR);/*Overflow*/
x[top++]=n;
return(n);
}

int pop(void)
{
if(top<=0)
return(ERROR);*/Underflow*/
return(x[--top]);
}
スタックのコーディングです なにをやっているかまったくわからないんですが
教えてください