Answers for "How do I change the size of a stack in C++?"

C++
1

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 do I change the size of a stack in C++?"

Browse Popular Code Answers by Language