Path: utzoo!attcan!uunet!lll-winken!ames!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Pointer arithmetic and comparison Keywords: arrays, malloc Message-ID: <10245@smoke.BRL.MIL> Date: 10 May 89 13:41:09 GMT References: <13004@haddock.ima.isc.com> <4646@freja.diku.dk> <320.nlhp3@oracle.nl> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 10 In article <320.nlhp3@oracle.nl> bengsig@oracle.nl (Bjorn Engsig) writes: >The call to malloc gives me 1000 * sizeof int bytes, but is this an array? From the pANS: The pointer returned if the allocation succeeds is suitably aligned so that it may be assigned to a pointer to any type of object and then used to access such an object or an array of such objects in the space allocated (until the space is explicitly freed or reallocated).