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
Crista
25 days agoJordan
30 days agoLourdes
1 month agoKrystal
2 months agoJamika
2 months agoMica
2 months ago