C++ programs to implement the Stack ADT using an array

Wednesday, March 10th, 2010  »  Posted By  »  Total 9 Comments

void push(int x)
{
if(top > 4)
{
cout <<“stack over flow”;
return;
}
stk[++top]=x;
cout <<“inserted” < }

Question and Answer
C/C++ Unix & Linux Wordpress
Source codes
C C++ Java

Free email signup

Email: