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
Explain the difference between new() and malloc() in c++?
Which software is best for programming?
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user.
What are different types of loops in c++?
What are the important differences between c++ and java?
describe private access specifiers?
Explain the concept of copy constructor?
What do you understand by a pure virtual member function?
Do you know about latest advancements in C++ ?
What is the c++ programming language used for?
What is ofstream c++?
Do you know the use of vtable?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is the use of typedef?
What is an inclusion guard?