We can store these literals inside std::string type. C++ standard library offers a compound type called string or rather std::string as it is part of the std namespace. We use it for storing and manipulating strings.
13. Introduction to Strings
Get Modern C++ for Absolute Beginners: A Friendly Introduction to C++ Programming Language and C++11 to C++20 Standards now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.