Demonstrate the stack operations using Array. Please help. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Demonstrate the stack operations using Array. Please help.

28th Jan 2022, 12:07 PM
Kate Maanya
3 Answers
+ 3
Please explain your question. Do you have to demonstrate that? What have you done so far? What are your specific difficulties?
28th Jan 2022, 12:56 PM
Emerson Prado
Emerson Prado - avatar
+ 1
This isn't a forum for getting homework answers
28th Jan 2022, 2:17 PM
Œ ㅤ
Œ ㅤ - avatar
+ 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.
28th Jan 2022, 2:27 PM
Mario Paes
Mario Paes - avatar