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