Tuesday, August 23, 2011

left padding a digit

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int n=7;
printf("%.10d",n);//padding with zeroes technique
}