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
Billy
5 months agoDaniela
5 months agoLizbeth
6 months agoKenny
6 months agoSheldon
6 months agoCherry
6 months agoTiffiny
6 months agoRozella
6 months agoLouis
6 months agoJamal
6 months agoArthur
6 months agoCherelle
7 months ago