Hmm, I don't get the question.
>> how to dynamically allocate memory for int *a[3]; ?
What do you mean by allocating memory for int *a[3];
Can you explain in some more details what exactly you want to do

On Jul 27, 8:39 pm, Kamakshii Aggarwal <kamakshi...@gmail.com> wrote:
> i am not getting any of the ways..can u explain?
>
> On Wed, Jul 27, 2011 at 9:06 PM, Abhinav Arora 
> <abhinavdgr8b...@gmail.com>wrote:
>
>
>
>
>
> > I believe the method written is incorrect, it didnt work for me....
> > i guess this is the right way...worked for me:
>
> > int **p;
> > p=malloc(3*sizeof(int *));
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/algogeeks/-/ATGevOaqMbUJ.
>
> > 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.
>
> --
> Regards,
> Kamakshi
> kamakshi...@gmail.com

-- 
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.

Reply via email to