Format Code Description %d Integer %f Float %lf Double %c Character %s String %x Hexadecimal %o Octal
Here's an example program that demonstrates the use of these format codes:
Program.c
In this program, we use scanf to read different types of inputs from the user using the format codes mentioned in the table.
With supporting text below as a natural lead-in to additional content.