#include<stdio.h>
main()
{
char outline[50];
char one[7],two[7],four[7],five[7];
int three;
sprintf(outline,"this is %d times %s \n",10,"charlie");
printf("%s",outline);
sscanf(outline,"%s %s %d %s %s",&one,&two,&three,&four,&five);
printf("%s",one);
printf("%s",two);
printf("%d",three);
printf("%s",four);
printf("%s",five);
}
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.