Subj : Re: multi-dimensional array/pointer help To : borland.public.cpp.borlandcpp From : maeder@glue.ch (Thomas Maeder [TeamB]) Date : Wed Apr 07 2004 07:49 pm "detritus" writes: > Why dose the follwing code not work? "Does not work" doesn't work in newsgroup posts. *What* doesn't work? > int main() > { > char *num[2][2] = {{"One","Two"},{"Three","Four"}}; Note that this line only compiles because of a deprecated conversion from "array of N char const" to "pointer to char" (non-const!). Better change the type of num to char const (*)[2][2]. This probably won't help you with your immediate problem, but it may help you not causing your program to have undefined behavior. .