Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

stack c++

#include <bits/stdc++.h> 

stack<int> stk;
stk.push(5);
int ans = stk.top(5); // ans =5
stk.pop();//removes 5
Source by codejudge.blogspot.com #
 
PREVIOUS NEXT
Tagged: #stack
ADD COMMENT
Topic
Name
6+6 =