← BYTES
C++·Starter·Ref: 8.1.19

What does `std::cout` do in C++?

Have a question about this video? Mention reference 8.1.19 when you contact us.

a.Reads input from the keyboard
b.Writes output to the standard output stream (typically the console), used together with the << insertion operator
c.Compiles the current source file
d.Counts the number of characters in a string
`std::cout << "hello";` sends the string to standard output -- cout is the standard output stream object, declared in <iostream>, and << is overloaded to format and insert values of many types into it.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES8119#C