void main(int arg,char *argc)
{
char *s=argc[1];
int count=0,i;
for(i=strlen(s)-1;i>=0;i--)
{
count++;
printf(%c,s[i]);
if(count==3)
{
count=0;
putchar(',');
}
}
}

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to