C++ Institute CPP Question Answer
What happens when you attempt to compile and run the following code?
#include
#include
#include
using namespace std;
int main ()
{
list
deque
for(int i=0; i<5; i++)
{
l1.push_back(i);l1.push_front(i);
d1.push_back(i);d1.push_front(i);
}
for(int i=0; i { cout< } cout< return 0; }