What happens when you attempt to compile and run the following code?
#include
using namespace std;
int main ()
{
int t[] = {1, 2 ,3 ,4 ,5};
vectorv1(t, t+5);
dequed1;
d1.assign(v1.end(), v1.begin());
for(int i=0; i{cout<}cout<return 0;}
cout<}cout<return 0;}
}
cout<return 0;}
return 0;