printf function mainly prints the output on the screen such as (character, float, string, octal and hexadecimal values).