Write a program to implement a stack in an array and perform PUSH, POP, PEEP and CHANGE operations on it using functions.