A stack is dynamic because it is constantly changing objects, it expands and shrinks with passage of time.
The basic Stack operations are Create Stack, Push, Pop, Stacktop, Emptystack, Full stack, Stack Counts,
And Destroy stacks.We shall also study the following application of stacks, reversing data (convert decimal to
binary) parsing data (matching of parentheses in source programs), postponing data usage (Infix, Postfix, Prefix and evaluation of Postfix expressions.) Stack frames concept is studied in a separate chapter on recursion.
No comments:
Post a Comment