whats the solution for 3? On Tue, Aug 9, 2011 at 6:13 PM, Akash Mukherjee <akash...@gmail.com> wrote:
> @srinivas if any of the characters (i,n,d,a) appear den it is no longer > read....so gujr > > > On Tue, Aug 9, 2011 at 6:04 PM, Srinivas Varanasi > <srinivas4...@gmail.com>wrote: > >> Can any one explain question number 8? >> >> >> On Tue, Aug 9, 2011 at 12:19 PM, Akash Mukherjee <akash...@gmail.com>wrote: >> >>> @prashant >>> >>> devcpp gives an error cannot convert `char (*)[5]' to `char*' in >>> initialization >>> >>> ne ideas?? >>> >>> On Mon, Aug 8, 2011 at 12:58 PM, Prashant Kulkarni < >>> prashant.r.k...@gmail.com> wrote: >>> >>>> @Mohit >>>> >>>> Output Will be: >>>> >>>> 5 5 "some chunk value" >>>> >>>> Reason: When 'p' is assigning, we are assigning next memory location of >>>> 'ch'. similar we are assigning same memory location to 'q' as well but >>>> while >>>> printing, we are printing the last memory location content of 'ch' (i.e >>>> "p-1") and for 'q' we are printing its starting location so we will some >>>> garbage value. >>>> >>>> -- Prashant Kulkarni >>>> >>>> >>>> >>>> >>>> On Mon, Aug 8, 2011 at 11:28 AM, Mohit Goel >>>> <mohitgoel291...@gmail.com>wrote: >>>> >>>>> >>>>> >>>>> can anyone one explain output of question 1..... >>>>> >>>>> -- >>>>> 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 >>>>> algogeeks+unsubscr...@googlegroups.com. >>>>> 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 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. >>>> >>> >>> -- >>> 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 >>> algogeeks+unsubscr...@googlegroups.com. >>> For more options, visit this group at >>> http://groups.google.com/group/algogeeks?hl=en. >>> >> >> >> >> -- >> srinivas >> >> >> -- >> 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 >> algogeeks+unsubscr...@googlegroups.com. >> 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 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. > -- 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 algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.