Solved

Which Statement Declares IntList to Be a Vector of Size

Question 43

Multiple Choice

Which statement declares intList to be a vector of size 5 and the element to be of type int?


A) vector intList[5];
B) vector<int> intList(5) ;
C) vector<int> intList() ;
D) vector(int) intList[5];

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions