Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!husc6!seismo!mcvax!ukc!dcl-cs!bath63!ma6nrr From: ma6nrr@bath63.UUCP Newsgroups: comp.lang.c Subject: Array names as pointers Message-ID: <762@bath63.ux63.bath.ac.uk> Date: Wed, 11-Feb-87 14:43:51 EST Article-I.D.: bath63.762 Posted: Wed Feb 11 14:43:51 1987 Date-Received: Thu, 12-Feb-87 23:22:17 EST Reply-To: ma6nrr@bath63.UUCP (Rashbrook) Distribution: world Organization: University of Bath, England Lines: 21 Keywords: array pointer #undef LINE_EATER A point I am not clear on: I know that for a single-dimension array e.g. int a[20]; then a means &a[0].Is this generally true for multidimensional arrays e.g. will int b[5][6]; write ( fd , (char *) b , 30 * sizeof( int ) ); write out only the whole of array b to file no. fd ? Thanks in advance,Neil. /* */ main() { } /*/ } { )( niam /* */ /***************************************************************/ /* Send all flames to: */ /***************************************************************/ /* N.Rashbrook UUCP:seismo!mcvax!ukc!bath63!ma6nrr */ /* Undergraduate JANET:ma6nrr@UK.AC.BATH.UX63 */ /* University of Bath ARPA:ma6nrr%ux63.bath.ac.uk@ucl-cs.arpa */ /***************************************************************/