Q:

What if we defined the vector in the previous execercise to hold objects of type C

0

What if we defined the vector in the previous execercise to hold objects of type C?

All Answers

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

Then the code `vector<C> vec(10);` is legal.

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