Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!brl-adm!adm!Dizio@udel.edu From: Dizio@udel.edu Newsgroups: comp.lang.c Subject: zero length array Message-ID: <4498@brl-adm.ARPA> Date: Tue, 17-Feb-87 10:32:51 EST Article-I.D.: brl-adm.4498 Posted: Tue Feb 17 10:32:51 1987 Date-Received: Wed, 18-Feb-87 04:07:33 EST Sender: news@brl-adm.ARPA Lines: 18 Not to nit pick but is it always true that within the structure struct LINE { struct header_junk hj; char text[32768]; } ; 'text' falls immediately after 'hj'? If not I would be wary about mallocing sizeof(header_junk) + length. II. Is the following a portable way of finding out where a field within a structure is located? & (((struct any_struct_tag *) 0)->any_field) Dave DiZio