main( )
{
char name[25]=”wasim javed”;
char city[25]=”D-I-khan”;
clrscr();
printf(“Left – justified /n”);
printf(“%-30s/n”,name);
printf(“%-30s/n”,city);
printf(“Right –justified /n”);
printf(“%-30s/n”,name);
printf(“%-30s/n”,city);
getch();
}
Posted by: Wasim Javed
No comments:
Post a Comment