Is there any meaning of 'f' in printf()? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Is there any meaning of 'f' in printf()?

Why we can't use print() instead printf()?

25th Jan 2019, 12:57 PM
ocioso
ocioso - avatar
1 ответ
+ 6
I always thought that the f stands for 'formatted' or something: With printf you use 'format specifiers' like %d, %f and so on to position data in your string in a format you can specify.
25th Jan 2019, 1:18 PM
HonFu
HonFu - avatar