Wednesday, August 21, 2013

How to write Simple Stack Program in C

#include<conio.h>
#include<stdio.h>
 
void PUSH();
void PEEP();
int POP();
int top=-1,item,a[10];
void main()
{
int i;
clrscr();
for(i=0;i<12;i++)
{
printf("\nEnter No: ");
scanf("%d",&item);