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; }
Suggested Answer: E
Get Premium CPP Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
0 comments · newest first
Currently there are no comments in this discussion, be the first to comment!