Question: Which line in the below code causes an error? #include #include using namespace std; int main ( ) { vector idNums ( 5 ) ;
Which line in the below code causes an error?
#include #include using namespace std; int main vector idNums; idNums.at; idNums.at; idNums.at; idNums.at; idNums.at; cout "Size: idNums.size endl; idNums.pushback; cout "New size: idNums.size endl; return ;
Group of answer choices
cout "New size: idNums.size endl;
return ;
idNums.at;
cout "Size: idNums.size endl;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
