Subj : Re: help on silly code To : borland.public.cpp.borlandcpp From : maeder Date : Sun Sep 12 2004 12:57 pm Please direct your browser at http://info.borland.com/newsgroups/ and read the newsgroup guidelines. One of them asks us not to quote entire posts we are following up to; instead, please trim the quotes to the parts relevant for your reply. Thanks! Mark Manning writes: > Whereas: > > double *data[]; > > Would be a pointer to an array of double values. No. That defines an array of pointers to double. To define a pointer to an array, we have to write double (*data)[]; , because, according to the syntax of C and C++, [] precedes *. > So the (1,2,3,4) should then work. This expression always works, but not like what you seem to expect; its value is 4. .