Description. The printf function converts, formats, and writes its value parameters, under control of the format parameter, to the standard output. The format parameter is a character string that contains two types of objects: Literal characters.