What is the stack?

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


Please Help Members By Posting Answers For Below Questions

What is lambda in c++?

672


How to defines the function in c++?

719


What is buffer and example?

614


I want explanation for this assignment: how to connect mysql database using c/c++,please explain this detailly?

1665


What is the difference between the parameter to a template and the parameter to a function?

750






Which one is a preferred language C or C++? Why?

709


Differentiate between a pointer and a reference with respect to c++.

795


Write about the role of c++ in the tradeoff of safety vs. Usability?

681


What are the c++ access specifiers?

917


Which coding certification is best?

647


How to give an alternate name to a namespace?

676


Difference between pointer to constant and constant pointer to a constant. Give example.

740


declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator

1840


What is a responder chain?

654


What is iostream in c++ used for?

638