Question: Question 11 (1 point) Vectors can have any type as the base type Question 11 options: True False Save Question 12 (1 point) If v
Question 11 (1 point)

Vectors can have any type as the base type
Question 11 options:
| True | |
| False |
Save
Question 12 (1 point)

If v is a vector and i is an int variable, then in the following the value of i can be any nonnegative int value: v[i] = i;
Question 12 options:
| True | |
| False |
Save
Question 13 (1 point)

What is the proper way to declare a vector of strings named names?
Question 13 options:
| vector strings names; | |
| vector string; | |
| vector names; | |
| all of the above |
Save
Question 14 (1 point)

The base type for a vector can be
Question 14 options:
| int | |
| float or double | |
| char | |
| any data type |
Save
Question 15 (1 point)
![v[i] = i; Question 12 options: True False Save Question 13 (1](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3c34a9f95e_27466f3c34a91f2c.jpg)
The following code declares a vector of integers named numbers that reserves space for 100 integers. vector numbers(100);
Question 15 options:
| True | |
| False |
Save
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
