🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3716

Re: 'sizeof e' vs. 'sizeof (T)' (was: Re: Parenthesis with return ?)

#3716
From: Clive D.W. Feather
Date: Sun, 13 Aug 1995 22:58
15 lines
904 bytes
In article <3415076830.8283127@ortel.org>,
Paul Long <Paul_Long@ortel.org> wrote:
> If [...] the following would all yield 1:
>   sizeof(char)
>   sizeof(int)
>   sizeof c
>   sizeof c + 1

The last of these can never be 1 (assuming it occurs in a strictly
conforming program).

-- 
Clive D.W. Feather                       | If you lie to the compiler,
clive@demon.net        (work, preferred) | it will get its revenge.
clive@stdc.demon.co.uk (home)            |   - Henry Spencer
Technical Details
Message-ID: <DD9uHo.AJM@stdc.demon.co.uk>
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive
References: <3415076830.8283127@ortel.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive
From: clive@stdc.demon.co.uk (Clive D.W. Feather)
Newsgroups: comp.std.c
Subject: Re: 'sizeof e' vs. 'sizeof (T)' (was: Re: Parenthesis with return ?)
Date: Sun, 13 Aug 1995 22:58:35 GMT
Organization: Demon Internet Limited (personal account)
Message-ID: <DD9uHo.AJM@stdc.demon.co.uk>
References: <3415076830.8283127@ortel.org>
X-NNTP-Posting-Host: stdc.demon.co.uk