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
Is map sorted c++?
Write about the members that a derived class can add?
What is c++ & why it is used?
What is the difference between #import and #include?
Can you declare an array without a size in c++?
Why do we use classes in c++?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
What are advantages of using friend classes?
What is a c++ class?
What is the output of the following program? Why?
How many different levels of pointers are there?
Mention the ways in which parameterized can be invoked.
what is multi-threading in C++?
What do you mean by translation unit?
Do you know about C++ 11 standard?