I dont think so dp=&arr;   since **dp; dp contains the addr of another ptr
variable...

On Fri, Aug 5, 2011 at 7:27 PM, Arun Vishwanathan <[email protected]>wrote:

>
> I guess someone had posted a link earlier from which I have a basic doubt
>
> when u have
>
> int arr[3]={1,0,2};
> int **dp;
> int (*pa)[3];
>
> is this the right assingment for instance?
>
> pa=arr;
> dp=&arr;
>
> or have I flipped the ampersand in assigning?
>
> Also when I do pa++ will it jump by size of int or the whole array size it
> points to?
> --
>  "People often say that motivation doesn't last. Well, neither does
> bathing - that's why we recommend it daily."
>
>  --
> 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.

Reply via email to