On Tuesday, Nov 11th 2003 at 12:46 -0500, quoth Federico Lucifredi: =>Hello Mongers, => How many dimensions can a C array have ? I remember 7, but I could not =>verify the assumption from either K&R or Stroustrup's books, and I don't =>have copy of the ANSI standard.... => => Is this factor compiler-dependant ? That would be my guess right now. => => -F What an interesting question. I'm probably wrong but I'm going to take a stab at it anyways.
A: 1 In C there is no such thing as multidimensional arrays. You can however have an array of an array. C does support the notation of [x,y] as a shorthand of [x][y]. So the answer to the question that you're really asking is probably "unlimited" in the same way that you can have pointers to pointers etc or functions which return pointers to functions which return ... etc. Who dares to disagree? -- -Time flies like the wind. Fruit flies like a banana. Stranger things have - -happened but none stranger than this. Does your driver's license say Organ -Donor?Black holes are where God divided by zero. Listen to me! We are all- -individuals! What if this weren't a hypothetical question? steveo at syslang.net _______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

