ptr is givenc char addrsss so print A ptr given int address but ++(*ptr) increments that int val so it goes 51 next ptr contains char address of char but i think ++(*ptr) gives ua insetead un an
On Fri, Sep 30, 2011 at 9:24 AM, praveen raj <[email protected]> wrote: > Ptr cannot be used to allocate block of memory > .. void pointer use only to store address... > > -- > 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.
