+ 1
if I'm not wrong cout is used for printing outputs in C++ and not Javascript. Please use relevant tag. Coming to your question: "cout is C++ syntax use for displaying outputs(texts anything) on the console." example: cout << "Hello World"; will display "Hello World" (without quotation) on the console. for more details read this, The cout object in C++ is an object of class ostream. It is used to display the output to the standard output device i.e. monitor. It is associated with the standard C output stream stdout. src: https://www.programiz.com/cpp-programming/library-function/iostream/cout#:~:text=The%20cout%20object%20in%20C%2B%2B,standard%20C%20output%20stream%20stdout.
30th Jan 2021, 8:33 AM
minirkk
minirkk - avatar