C++ Institute CPP Exam - Topic 4 Question 121 Discussion
What happens when you attempt to compile and run the following code?#include #include #include using namespace std;int main (){int t[] = {1, 2 ,3 ,4 ,5};vectorv1(t, t+5);listl1;l1.assign(v1.end(), v1.begin());for(int i=0; i
C) compilation error
A) program displays 5 4 3 2 1
B) program displays 1 2 3 4 5
D) segmentation fault runtime exception
C++ Institute CPP Exam - Topic 4 Question 121 Discussion
Fernanda
3 days agoGary
8 days agoBlythe
13 days agoCrista
2 months agoJordan
2 months agoLourdes
3 months agoKrystal
3 months agoJamika
3 months agoMica
3 months ago