You can use a star as a placeholder for a run time field width: Code: printf( "%*s\n", width, string );
printf( "%*s\n", width, string );