Path: utzoo!attcan!ncrcan!becker!geac!jtsv16!uunet!aplcen!samsung!brutus.cs.uiuc.edu!psuvax1!psuvm!cmh117 From: CMH117@PSUVM.BITNET (Charles Hannum) Newsgroups: comp.lang.c Subject: Re: array or pointer Message-ID: <89321.113059CMH117@PSUVM.BITNET> Date: 17 Nov 89 16:30:59 GMT References: <709@milton.acs.washington.edu> Distribution: usa Organization: Penn State University Lines: 9 If you knew that you always want to read 500 record of exactly 80 bytes, there is no reason to dynamically allocate the memory. It should be statically allocated. i.e.: char foo[500][80]; Note: I used the words "byte" and "char" interchangeably here. This may vary depending on the implementation. Unfortunately, most of the compilers I've used don't have a "byte" type.