0
How to get the size of stack?🤔
How can I get the size of the stack in my c/c++ programme? Hope for your answers!
4 Antworten
+ 2
Max Charlington
size() function is used to return thesize of the stack container or the number of elements in the stackcontainer.
Like:
my_stack.size()
+ 1
I see. That's for other experts) thank you 🙏
0
I am NOT talking Stack as a container