What is the use of printf? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the use of printf?

11th Oct 2019, 6:57 AM
Lyzalic Pamgpangan Manggawan
Lyzalic Pamgpangan Manggawan - avatar
5 Answers
+ 3
printf used to print the value. Check here examples are given https://www.sololearn.com/learn/C/2914/
11th Oct 2019, 7:05 AM
A͢J
A͢J - avatar
11th Oct 2019, 7:08 AM
A͢J
A͢J - avatar
+ 2
%d used to get numeric value from the input. %s used to get string value from the input.
11th Oct 2019, 7:33 AM
A͢J
A͢J - avatar
+ 1
ok what is the use of %d and %s
11th Oct 2019, 7:14 AM
Lyzalic Pamgpangan Manggawan
Lyzalic Pamgpangan Manggawan - avatar
0
To print any output with or without string.
12th Oct 2019, 4:02 PM
Pushpendra Singh
Pushpendra Singh - avatar