Re: o/p problem
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Fri, 30 Dec 2005 21:10:47 GMT
des@xxxxxx (Dag-Erling Smørgrav) writes:
> Lew Pitcher <Lew.Pitcher@xxxxxx> writes:
>> - the width (sizeof()) of a character constant (hint: it isn't
>> necessarily == 1)
>
> in fact, it is guaranteed to be at least 2.
No, it isn't; consider CHAR_BIT==16, sizeof(int)==1.
--
Keith Thompson (The_Other_Keith) kst-u@xxxxxxx <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
.
- Follow-Ups:
- Re: o/p problem
- From: Kenny McCormack
- Re: o/p problem
- References:
- o/p problem
- From: fidlee
- Re: o/p problem
- From: Robert Gamble
- Re: o/p problem
- From: fidlee
- Re: o/p problem
- From: Lew Pitcher
- Re: o/p problem
- From: Dag-Erling Smørgrav
- o/p problem
- Prev by Date: Re: void * pointer convert problem.
- Next by Date: Re: String reversing problem
- Previous by thread: Re: o/p problem
- Next by thread: Re: o/p problem
- Index(es):