Syntax:
#include <stack> size_type size() const;
The size() function returns the number of elements in the current stack.
Related Topics: empty
Submit feedback about this site to: