New course! Every coder should learn Generative AI!
Try a free lesson+ 2
What is the purpose of cout in c ++
7 Answers
+ 10
to OUTput something on the screen
+ 18
Hey Very Hard, I completely disappointed !
1 byte is 8 bits
4 bits is a nibble.
+ 3
purpose is to convert to byte(8 bit) then output to console like what kernel could do. I guess that it is your purpose also ๐
+ 3
Sorry my typo ๐
I remember that I type 8 bit but why It showed 4 bit ๐ haaaaa
+ 3
@Amrit Mahendra Joseph
It actually means 'character out', as said by Bjarne Stroustrup (The creator of C++).
The reason, was explained by VeryHard before...
www.stroustrup.com/bs_faq2.html#cout
+ 2
To output something on the console.
cout means console output.
+ 1
The purpose of cout in c++ is to print and give the output๐๐๐