int num=1234567;
printf("%9d", num ); //The total output length is 9 characters, which is not enough. It is preceded by
Output: 1234567.