/*WAP of Formatting2*/
#include<stdio.h>
#include<conio.h>
main( )
{
char ch = 'z' ;
int i = 125 ;
float a = 12.55 ;
char s[ ] = "hello there !" ;
printf ( "\n%c %d %f", ch, ch, ch ) ;
printf ( "\n%s %d %f", s, s, s ) ;
printf ( "\n%c %d %f",i ,i, i ) ;
printf ( "\n%f %d\n", a, a ) ;
getch();
}
No comments:
Post a Comment