Q. Suggest a method of implementing two stacks in one array such that as long as space is there in an array, you should be capable to add an element in either stack. Using proposed method or technique, write algorithms for push and pop operations for both the discussed stacks.
/* Two Stacks Into One Array */
#define MAX 50
void push1(int elm)
printf("\n Array has been Filled !!!");
void push2(int elm)
printf(" \n This Stack is Empty !!!");
printf(" \n This Stack Is Empty !!!");