hi guys can any one work out a program for stack in c..for push and pop asap
Recommended Answers
Jump to Postyou want it for static array or dynamic array !!
here is algorithm for you
1. ask user what he wants to do push or pop2.in pop check whether stack is empty or not if not then pop the last value in stack and decrement …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.