Sorry but the context is not very clear. What exactly are you trying to do? Looks like you want to allocate space for an integer value and assign the value p to it. So, you need to refer it with some pointer (in this case x).
On Jun 4, 2:24 pm, "D.N.Vishwakarma@IITR " <[email protected]> wrote: > say memory location is 0x33f070 of int *x=new int(p); > p is some value at that location. we have to find p at that location using > some indirect way... > without using cout<<(void*x); Is there any other way to find p? > > -- > **With Regards > Deoki Nandan Vishwakarma > IITR MCA > Mathematics Department* > * -- 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.
