is it confirmed that the answer is 11/23 only? bcoz the point that we need a left-right pair only is also valid. if we consider that case, answer comes out to be 12/23. since it just says pair, shall we assume that pair means just 2 of same colour or take a proper pair that consists of one right and one left
On Fri, Aug 5, 2011 at 9:46 AM, sukran dhawan <[email protected]>wrote: > cpp = cp is valid.other one is not valid because the compiler places cp in > read only memory.so we cannot change its address > > > On Fri, Aug 5, 2011 at 12:43 AM, Ankur Khurana > <[email protected]>wrote: > >> dev cpp par chal jaenge , >> ideone.com par try kar >> cp=cpp nahi chalega . . >> >> >> On Fri, Aug 5, 2011 at 12:40 AM, Kamakshii Aggarwal < >> [email protected]> wrote: >> >>> i have a doubt regarding 3rd questions..acc to me both are valid...what >>> is the correct answer? >>> >>> >>> On Fri, Aug 5, 2011 at 12:27 AM, newOne <[email protected]> wrote: >>> >>>> 2 issues: >>>> 1. no error handling for malloc failure( can be ignored) >>>> 2. no memset for p&q. >>>> >>>> strcat will not work properly: as by definition it will search for the >>>> null char in first string, removes it then copies the second string >>>> including the null char of second string. >>>> >>>> -- >>>> 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. >>>> >>>> >>> >>> >>> -- >>> Regards, >>> Kamakshi >>> [email protected] >>> >>> -- >>> 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. >>> >> >> >> >> -- >> Ankur Khurana >> Computer Science >> Netaji Subhas Institute Of Technology >> Delhi. >> >> -- >> 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. >> > > -- > 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. > -- Tushar Bindal Computer Engineering Delhi College of Engineering Mob: +919818442705 E-Mail : [email protected] Website: www.jugadengg.com -- 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.
