Explanation : The printf function displays formatted output according to its format string. The %f conversion specifier prints a floating-point value in fixed-point decimal notation. Escape sequences such as
and represent a newline and a horizontal tab. Each conversion specifier must match the corresponding argument type.