Whats mean %8.3d in printf in c language?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Whats mean %8.3d in printf in c language??

14th Jun 2019, 5:50 PM
Gaurav Rawat
Gaurav Rawat - avatar
1 Answer
+ 3
Here the number before between % and d represents the number of spaces to leave before printing the value of integer. %d |12345 %4d | 12345 %8d | 12345
14th Jun 2019, 6:02 PM
Anurag
Anurag - avatar