If you like, you can tell C to put the padding on the right by adding a minus sign:
printf ("%-6s%-8i\n", "Food", 300);
The result is left justification, rather than right justification:
*----- First argument-value characters start here | | *----- Padding for first argument | | | | *----- Second argument-value characters start here | | | | | | *----- Padding for second argument | | | | | | | v v v v ----- Food 300