T
2 years ago
Tenzingcountry asked

Is printf() required everytime we need to output text?

Kelish Rai
Expert
2 years ago
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.