1) p & q can be checked for null i.e. to handle the condition when malloc fails, otherwise I don't see any thing wrong in it.
3) Only cppp=cp is valid. because any "pointer to some const type" can be assigned "pointer to a non-const type" but not vice versa. 4) Different for different OS, on Windows you can use DIR /S *.java 5) 2 *((12/24)*(11/23)) = 11/23 Regards, Sandeep Jain On Wed, Aug 3, 2011 at 10:43 PM, Dave <[email protected]> wrote: > @Kamakshii: Yes. 11/23 is correct. Whatever the color of the first > sock chosen, there are 11 mates in the 23 remaining socks. > > Dave > > On Aug 3, 12:01 pm, Kamakshii Aggarwal <[email protected]> wrote: > > i think answer for 5th should be 11/23. Am i right? > > > > On Wed, Aug 3, 2011 at 10:26 PM, Kamakshii Aggarwal > > <[email protected]>wrote: > > > > > > > > > > > > > i think dere is nothing wrong in ques 1.is there any error? > > > > > On Wed, Aug 3, 2011 at 9:46 PM, cegprakash <[email protected]> > wrote: > > > > >> 2 is pretty easy.. > > > > >> 3: both > > > > >> 5: 6/12 * 6/11 = 3/11 > > > > >> am i right? > > > > >> -- > > >> 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] > > > > -- > > Regards, > > Kamakshi > > [email protected] Hide quoted text - > > > > - Show quoted text - > > -- > 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.
