Is empty stack c++?
Answer / Naveen Rana
Yes, a stack can be empty in C++. The STL (Standard Template Library) provides the 'std::stack' container, which can be initialized or checked for emptiness.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is protected inheritance?
what Is DCS ? what i will get benefit when i did?
Define a constructor - what it is and how it might be called (2 methods)?
In which memory a class gets stored(in heap /in stack)? And why??
When can I use a forward declaration?
What is the Difference between "C structure" and "C++ structure"?
What is function declaration in c++ with example?
How do you link a C++ program to C functions?
What do you mean by global variables?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
What is diamond problem in c++?
What is the most common mistake on c++ and oo projects?