Which of the following is NOT a fundamental (built-in) type in C++?
Correct answer A. std::string
Explanation
bool, wchar_t and double are fundamental types built into the language and need no header. std::string is a class template specialisation, std::basic_string, defined in the standard library header . It behaves much like a built-in type thanks to operator overloading, but it is a library class, not a language keyword.
Answer checked How we write and check questions
Discussion