Some experienced C programmers like to arrange the arguments in
printf
statements so that the arguments line up with the
corresponding print specifications, as shown in the following examples:
printf ("The average of the %i prices is %f.\n", count, average);
Such alignment makes printf
statements easier to readespecially
printf
statements that contain many print specifications or
printf
statements with complex arguments.