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
What does it mean to declare a member variable as static?
Name the implicit member functions of a class.
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
How do I run a program in notepad ++?
Will rust take over c++?
What are the various compound assignment operators in c++?
What is a pdb file?
What are compilers in c++?
What is the difference between structures and unions?
Give an example of run-time polymorphism/virtual functions.
Can the creation of operator** is allowed to perform the to-the-power-of operations?
Explain one method to process an entire string as one unit?
Is vector a class in c++?