Stack Program #1
15. Implement a program for stack that performs following operations using array: PUSH, POP, PEEP, CHANGE & DISPLAY #include<stdio.h> #define N 500 int top=-1; int s[N]; //Function prototypes void push(int x); int pop(); int peep(int i); void change(int i,int x); void display(); void main() { int ch,i,x,a; printf ("STACK OPERATION\n"); while (1) { printf ("------------------------------------------\n"); printf (" 1 --> PUSH \n"); printf (" 2 --> POP \n...