Answer Posted / karthikamburu
stack is an abstract data type and data structure based on
the principle of Last In First Out (LIFO). Stacks are used
extensively at every level of a modern computer system. For
example, a modern PC uses stacks at the architecture level,
which are used in the basic design of an operating system
for interrupt handling and operating system function calls.
Among other uses, stacks are used to run a Java Virtual
Machine, and the Java language itself has a class
called "Stack", which can be used by the programmer.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is implicit conversion/coercion in c++?
Write about a nested class and mention its use?
How do you find out if a linked-list has an end?
Explain the advantages of using friend classes.
What is data hiding c++?
Write a function to find the nth item from the end of a linked list in a single pass.
What are the uses of c++ in the real world?
why is c++ called oops? Explain
What is the difference between equal to (==) and assignment operator (=)?
What is the real purpose of class – to export data?
How a new element can be added or pushed in a stack?
Can notepad ++ run c++?
Can a program run without main?
What is implicit pointer in c++?
How to allocate memory dynamically for a reference?