Thursday, June 27, 2013

What are the few applications of stack?



·         To perform the undo operation in the text editors.
·         To reverse a string.
·         To keep history of web pages.
·         To perform recursive operations.
·         To evaluate prefix and postfix expression.
·         To handle interrupts in a system.
·         To pass parameters in the functions.

No comments:

Post a Comment