c text modifiers

The C language offers various text modifiers that can be used to format the output. Here are the explanations for each step:

  1. %c: This is used to format and display a single character.
  2. %d: This is used to format and display an integer value.
  3. %f: This is used to format and display a floating-point number.
  4. %s: This is used to format and display a string.
  5. %p: This is used to format and display a pointer address.

These modifiers are essential for controlling the output format in C programming.