Ask your own question, for FREE!
Computer Science 20 Online
OpenStudy (anonymous):

Hello everyone, Does any one know the algorithm of implementing a stack in c programming

OpenStudy (rsmith6559):

Stacks can be implemented with arrays. You just add to it or remove the last item.

OpenStudy (anonymous):

Stacks are Abstract data type , which only define the functions that work on them like pop(),push() and peek(). The implementation details are left to the developer. Generally they re implemented using an array or link list. And you can find them in any data structure or algorithm book.

OpenStudy (anonymous):

thanks alot!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!