This was asked to me in Microsoft interview
On 8/7/07, Abhi <[EMAIL PROTECTED]> wrote: > > > Is this your college assignment? > > > On Aug 7, 9:00 pm, "Arulanandan P" <[EMAIL PROTECTED]> wrote: > > You have to write a function whose prototype is given bellow. this > function > > will accept two char * named subject and pattern. for example > > subject="abracadbra" > > and pattern="bca".now it should check occurrences of all chars of string > > pattern in subject . If any match occurs then it will remove that char > from > > subject . so finally , as in our example > > at end subject ="rdr" > > > > void fun(char *subject,char *pattern) > > { > > // write your code here} > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---