Answers for "how to find size of stack c++"

C++
2

size of stack in c++

std::stack<int> st;

std::cout << "size of stack: " << st.size();
Posted by: Guest on December-10-2020

Code answers related to "how to find size of stack c++"

Browse Popular Code Answers by Language