printf() is an inbuilt library function in C which is available in C library by default. This function is declared and related macros are defined in “stdio.h” header file.
printf() function is used to print the “character, string, float, integer, octal and hexadecimal values” onto the output screen.