Question : print number with leading zeros
Answered by : ahemd-salah
int n = 123;
printf("%0.5d", n); // 00123
Source : | Last Update : Fri, 07 May 21
Answered by : ahemd-salah
int n = 123;
printf("%0.5d", n); // 00123
Source : | Last Update : Fri, 07 May 21