+ 2

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

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