Program Using Built in Stack in C++
This program is example regarding how toward include built in stack file furthermore use its functions in C++.
First in Last Out.
#include
using namespace std;
int main()
{
stack s;
s.push(1);
s.push(3);
s.pop(); // 3 remove
cout << s.top();
}
apart from these functions there are a lot regarding more functions regarding stack...
-->