Ends in 7 days

BLACK FRIDAY: Receive 83% off Programiz PRO

+🎁 Buy 1 year, gift 1 year FREE — Split with a friend for just $49.50 each

Start FREE trial →
Background Image

Buy 1 year, Gift 1 year —completely FREE

Start FREE trial →
bhebhe Balansag
last year
Bhebhecountry asked

What is the use of Print Output?

Kelish Rai
Expert
last year
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.