I tried looking it up on google and wikipedia but couldn't find an answer... Does anyone know what 'sprintf' or 'printf' stands for? Is it an abbreviation for something???
Thanks
"printf" is the name of one of the main C output functions, and stands for "print formatted". printf format strings are complementary to scanf format strings, which provide formatted input (lexing aka.
The sprintf() function writes a formatted string to a variable.
The sprintf() function returns the number of bytes that are written in the array, not counting the ending null character.
The printf function formats and writes output to the standard output stream, stdout . The sprintf function formats and stores a series of characters and values in the array pointed to by buffer. Any argument list is converted and put out according to the corresponding format specification in format.
String PRINT Format(ed).
I.e. print to string using a given format.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With