Final answer:
The formatting options for integer output using printf in C include five-wide, left-justified, zero-filled, and with a plus sign.
Step-by-step explanation:
The formatting options for integer output using printf in C include:
- Five-wide: To format an integer output as five characters wide, you can use the format specifier %5d.
- Left-justified: To left-justify an integer output, you can use the format specifier %-d.
- Zero-filled: To zero-fill an integer output, you can use the format specifier %05d.
- With a plus sign: To display a plus sign for positive integers, you can use the format specifier %+d.