Whats mean %8.3d in printf in c language?? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

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

14th Jun 2019, 5:50 PM
Gaurav Rawat
Gaurav Rawat - avatar
1 Réponse
+ 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