when i am running this on dev c it is printing times but on running in linux
it is not printing times plz any1 xplain me y is it so????
#include<stdio.h>
main()
{
char outline[50];
char one[7],two[7],four[7],five[7];
int three;
sprintf(outline,"this is %d tim %s \n",10,"charlie");
printf("%s",outline);
sscanf(outline,"%s %s %d %s %s",&one,&two,&three,&four,&five);
printf("%s\n",one);
printf("%s\n",two);
printf("%d\n",three);
printf("%s\n",four);
printf("%s\n",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.