Q:

To do so, we specify the address of the first element and one past the last element that we wish to copy

0

To do so, we specify the address of the first element and one past the last element that we wish to copy.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

int int_arr[] = {0, 1, 2, 3, 4, 5};
// ivec has six elements; each is a copy of the corresponding element in int_arr
vector<int> ivec(begin(int_arr), end(int_arr));

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now