Why_printf_is_called_printf
# Why printf
is called printf
2021-09-06
Tags: #Programming #English
# What f stands for in printf
?
The title of section 7.3 Formatted output - printf on page 145 of original K&R strongly suggest that the f
stands for formatted:
Searching in other sources will show that B’s and C’s printf
both seem to originate from BCPL’s writef
function which used already in 1966 the %
formatting character.
Also worth to note that Algol68 also adopted printf
function for formatted output. Yet the formatting logic was a little different.