cout
Cout is the standard output stream in the C++ programming language. It is an object of type std::ostream defined in the iostream header and resides in the std namespace. std::cout writes data to the standard output, typically the console, and is usually globally accessible as std::cout.
Data is sent to cout using the insertion operator, operator<<, which is overloaded for built-in types as
Formatting and manipulators: cout maintains a formatting state that includes width, precision, fill character, and format
Performance and behavior: By default, iostreams may be synchronized with the C stdio library, which can be
User-defined types: To output custom types with cout, one typically provides an overloaded operator<< for std::ostream&