Answers for "check an stack is empty c++"

C++
1

check an stack is empty c++

std::stack <int> st;
if(st.empty())
  std::cout << "stack is empty";
Posted by: Guest on June-05-2020

Code answers related to "check an stack is empty c++"

Browse Popular Code Answers by Language