Bhebhe
asked

Expert
Kelish Rai answered
The purpose of printing output — like using cout in C++ — is to display something on the screen so you can see what your program is doing.
It helps you understand if your code is working as expected, especially when you're learning. Think of it as a way for your program to "talk" to you.
C++
This question was asked as part of the Learn C++ Basics course.
Our Experts
Sudip BhandariHead of Growth/Marketing
Apekchhya ShresthaSenior Product Manager
Kelish RaiTechnical Content Writer
Abhilekh GautamSystem Engineer
Palistha SinghTechnical Content Writer
Sarthak BaralSenior Content Editor
Saujanya Poudel
Abhay Jajodia
Nisha SharmaTechnical Content Writer
Udayan ShakyaTechnical Content Writer