0

In C,

printf("%5d", 42);

Will print 42 using 5 spaces. I want to replace those blank spaces with 0 or any number or character. What should I do ?

Shivam
  • 192
  • 1
  • 12

0 Answers0