Answer Posted / stranger
A stack is an abstract data type and data structure based on
the principle of Last In First Out (LIFO).A stack is an
ordered list of items.
Items are removed from this list in the reverse order to the
order of their addition.
There are two main operations: push and pop. The push
operation adds (stores) to the list. The pop operation
removes (deletes) an item from the list.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
How many different levels of pointers are there?
What is the rule of three?
What is the full form of stl in c++?
What is implicit pointer in c++?
What is difference between n and endl in c++?
What will happen if a pointer is deleted twice?
How do I tokenize a string in c++?
Explain the properties and principles of oop.
What are the classes in c++?
What is an accessor in c++?
Explain the difference between using macro and inline functions?
What is c++ iterator?
How does a C++ structure differ from a C++ class?
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
What is the difference between a definition and a declaration?