CCCPaste

Stack implementation program

// 3) WAP to implement Stack
#include 
using namespace std;
const int StackSpace=4;
int top=-1;
int Stack[StackSpace];

void push(int data){
    if(top==(StackSpace-1)){
        cout<<"Stack over flowed!!!"<=0;i--){
        cout<