char str[5] , *p , str1[]="tatapower;
p=str1
while(*p)
{
if(*p=='t'||*p=='a')
     if(str==NULL)
     strcpy(str,*p);
   else
strcat(str,*p);
p++;
}

On Tuesday, 10 July 2012 16:15:16 UTC+5:30, amrit harry wrote:

>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/algogeeks/-/143UOL5GkJMJ.
To post to this group, send email to algogeeks@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