Assuming c is a multiset of strings and v is a vector of strings, explain the following calls. Indicate whether each call is legal
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:11| Question number:17
All Answers
total answers (1)
Assume
`multiset<string> c; vector<string> v;`
, thenis OK.
is error. A
`multiset`
doesn't have`push_back`
memeber function.is OK.
is OK.