1.

Which is an instantiation of the basic_string class template?(a) Character(b) String class(c) Memory(d) IteratorThis question was posed to me by my college director while I was bunking the class.I want to ask this question from String Characters in chapter Strings, Streams & Numerics in C++ of C++

Answer» RIGHT ANSWER is (b) STRING class

To EXPLAIN I would say: The string class is an instantiation of the basic_string class template.


Discussion

No Comment Found

Related InterviewSolutions