The `printf` function in C, defined in ``, formats and prints output to the screen. It uses a format string with specifiers like `%d` for integers and `%f` for floating-point numbers, followed by corresponding variables. Example: `printf("%d %s", 10, "apples");` prints "10 apples".