Simple C Programing with TrazoR
http://simplec.tk/
LED PANEL
widgeo.net
Google It, You'll Get It.
Monday, January 31, 2011
Using %s for strings + char array
#include<'stdio.h'>
main()
{
char fname[10];
char lname[10];
printf("----in----\n");
scanf("%s",&fname);
scanf("%s",&lname);
printf("----out----\n");
printf("%s \n",fname);
printf("%s \n",lname);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment