0
2.3kviews
Write ADT for stack. Give application of stack
1 Answer
| written 7.3 years ago by | • modified 7.3 years ago |
Stack is represented as follows
struct stack
{
int data[SIZE];
int top;
}s;
Where variable SIZE is used to specify the length of stack and its declared as constant