Which lines of the code below contain proper instantiation of queue objects?
#include
using namespace std;
int main()
{
deque mydeck;
list mylist;
vector myvector;
queue first; // line I
queue second(mydeck);// line II
queue third(second);// line III
queue fourth(mylist);// line IV
queue fifth(myvector);// line V
return 0;
}
Limited Time Offer
25%
Off
Currently there are no comments in this discussion, be the first to comment!
Currently there are no comments in this discussion, be the first to comment!