Xref: utzoo comp.lang.c:40222 comp.lang.c++:14219 Newsgroups: comp.lang.c,comp.lang.c++ Path: utzoo!telly!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Subject: Re: decalring large arrays Message-ID: <1991Jun19.095008.15196@druid.uucp> Organization: D'Arcy Cain Consulting, West Hill, Ontario References: <285B94A3.25253@maccs.dcss.mcmaster.ca> <1991Jun18.205921.20757@ux1.cso.uiuc.edu> <0094A521.858B9BC0@MAPLE.CIRCA.UFL.EDU> Date: Wed, 19 Jun 91 09:50:08 GMT In <0094A521.858B9BC0@MAPLE.CIRCA.UFL.EDU> sorrow@oak.circa.ufl.edu writes: >Actually, this MAY be legal (never tried it, but what the hell): >void main ( void ) >{ >char *TheArray=(char *)malloc(BIG_NUMBER); >char TheArrayAgain[]=TheArray; // Is this legal? >} Have you been following the discussion about stupid answers to FAQs? Please don't post code you haven't tried. This is so wrong it is ludicrous and a run through any compiler would have told you so. -- D'Arcy J.M. Cain (darcy@druid) | D'Arcy Cain Consulting | There's no government Toronto, Ontario, Canada | like no government! +1 416 424 2871 |