What does it mean !? | Sololearn: Learn to code for FREE!

+23

What does it mean !?

what is the meaning of "f" letter in the end of "scanf" or "printf" ? (it was occupy my mind since i seen first time😁)

6/3/2018 5:35:49 PM

AliR૯za

6 Answers

New Answer

+26

AliR૯za The f at the end of functions like printf and scanf stands for 'format'. Thus printf is FORMATTED printing, meaning that you can use things like %d and %s in it. In math functions a suffix of f usually means float. https://stackoverflow.com/questions/27949512/what-does-f-stand-for-in-c-standard-library-function-names Hope this helps! ☺

+20

Andre Daniel yes, Thank you

+3

Wow, thanks. Good to know.

+3

I thought f was for function, thanks the "Hot Today" section :D

+3

formatting

+2

It means format.. Which helps you to add the %d, %f etc