T
Tenzing
asked

Expert
Kelish Rai answered
Yes, you need to use printf() whenever you want to output text.
Here's an example of how you would output a greeting:
printf("Hello! How are you?");
Hope this helps! If you're still confused, feel free to ask a follow-up question below.
C
This question was asked as part of the Learn C Programming 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