/*WAP to Formatting*/
#include<stdio.h> #include<conio.h> main( ) { int i = 10 ; char ch = 'A' ; float a = 3.14 ; char str[20] ; printf ( "\n%d %c %f", i, ch, a ) ; sprintf ( str, "%d %c %f", i, ch, a ) ; printf ( "\n%s", str ) ; getch(); }
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
#include<stdio.h> #include<conio.h> main( ) { int i = 10 ; char ch = 'A' ; float a = 3.14 ; char str[20] ; printf ( "\n%d %c %f", i, ch, a ) ; sprintf ( str, "%d %c %f", i, ch, a ) ; printf ( "\n%s", str ) ; getch(); }
No comments:
Post a Comment