@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 <[email protected]>wrote: > Can any one explain question number 8? > > > On Tue, Aug 9, 2011 at 12:19 PM, Akash Mukherjee <[email protected]>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 < >> [email protected]> 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 >>> <[email protected]>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 [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. >>> >> >> -- >> 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. >> > > > > -- > srinivas > > > -- > 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.
