C++ Institute CPP Exam - Topic 2 Question 126 Discussion
Which stack initialization (line numbers) are correct? Choose all that apply.#include #include #include #include #include using namespace std;int main(){deque mydeck;list mylist;vector myvector;stack first;// Line Istack second(mydeck);// Line IIstack third(second);// Line IIIstack fourth(mylist);// Line IVstack fifth(myvector);// Line Vreturn 0;}
A) line I and B) line II and C) line III and D) line IV and E) line V
Currently there are no comments in this discussion, be the first to comment!