Subj : Re: multi-dimensional array/pointer help To : borland.public.cpp.borlandcpp From : "detritus" Date : Fri Apr 09 2004 11:34 am Sorry, there was a slight typo in my example ... I posted an experiment. It should read : > int main() > { > char *num[2][2] = {{"One","Two"},{"Three","Four"}}; > char ***numPtr; > > /******************* > The error is here. > *******************/ > numPtr = num; > > return 0; > } What I would like to know is why the following code works and the above dosent: int main() { char *num2[2] = {"One","Two"}; char **num2Ptr; num2Ptr = num2; return 0; } "detritus" wrote in message news:4073e1cb@newsgroups.borland.com... > Why dose the follwing code not work? > > int main() > { > char *num[2][2] = {{"One","Two"},{"Three","Four"}}; > char ***numPtr; > > /******************* > The error is here. > *******************/ > numPtr = # > > return 0; > } > > .