Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail NNTP-Posting-Date: Wed, 23 Nov 2011 04:16:45 -0600 Message-ID: <4ECCC80E.4B87@mindspring.com> Date: Wed, 23 Nov 2011 05:16:46 -0500 From: pete Reply-To: pfiland@mindspring.com Organization: PF X-Mailer: Mozilla 3.04Gold (WinNT; I) MIME-Version: 1.0 Newsgroups: comp.lang.c Subject: Re: Size of an arraylist in bytes References: <4ec97cb2$0$289$14726298@news.sunsite.dk> <88mdneGuVukoHlTTnZ2dnUVZ_jGdnZ2d@earthlink.com> <4ECAD480.5FD5@mindspring.com> <4ECB4616.5D3E@mindspring.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 41 X-Usenet-Provider: http://www.giganews.com NNTP-Posting-Host: 4.156.228.72 X-Trace: sv3-ryiVjvC5d4GHQnDQye1xhHhMSVegG2D+x2FkLBnlJab4pxm6y00JRAII3OcjmT9dP3f5viQ7Pqqs5JQ!FQfrbdrH3xj7DMTunXN+Y3OYrPPWuitENfOdVqtzyqkDtk69Rc8AwEj+l5opbKqvTRUbPOufYhb2!NQoZBjFGFg== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2790 Xref: x330-a1.tempe.blueboxinc.net comp.lang.c:13812 Ark wrote: > > On 11/22/2011 1:49 AM, pete wrote: > > Ark wrote: > >> > >> On 11/21/2011 5:45 PM, pete wrote: > > > >>> A null pointer constant, may be converted to null pointer. > >>> > >>> I refer to any expression of any type, > >>> as an instance of that type. > >>> > >>> (0.0) is a double. > >>> > >> I wonder if an expression > >> (i.e. a critter with a type and a value) is in > >> some sense "an instance". > >> Is there any point in distinguishing an > >> instance and an object? If so, what is it? > > > > The assignment expression statement > > a = 0; > > implies that there is an object named (a) > > and that after the assignment > > that (a) will have a value of (0). > > > > The assignment expression (a = 0) > > does *not* imply that prior to the assignment > > that there is a region of storage with a value of (0) > > waiting to be loaded and moved into (a). > > > Is it so? I believe that in C abstract machine, object a exists in the > block it is declared whether it is assigned to or not. That's what I believe too. I don't understand what it is that you think you're replying to. -- pete