void push(){ int val; if(top==SIZE-1){ printf("Overflow"); } else{ printf("Enter data:"); scanf("%d",&val); top++; stack[top]=val; } }