- 2
Demonstrate the stack operations using Array. Please help.
3 odpowiedzi
+ 3
Please explain your question. Do you have to demonstrate that? What have you done so far? What are your specific difficulties?
+ 1
This isn't a forum for getting homework answers
+ 1
you may start declaring a fixed size array:
int arr[100];
now you have a stack with no elements.
then you may add some integer elements and manipulate it with push() and pop(), showing the changes after each operation.
Try some code then cameback if you have trouble.