Q:

What type should be used to read elements in a list of strings? To write them

0

What type should be used to read elements in a list of strings? To write them?

All Answers

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

We can use `std::list<std::string>::const_iterator` or `std::list<std::string>::iterator` to read elements, and use `std::list<std::string>::iterator` to write them.

 

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