Answer: vector<int> intList
Explanation:
Using the above declaration we can declare intList to be a vector and the component type to be int.
example:
int main()
{
vector<int> intList
intList.push_back(1);
intList.push_back(2);
intList.push_back(3);
printList(intList); // printing the list
}