Re: Hellp with type promotion
- From: rlb@xxxxxxxxxxxxxxxxxxxxxx (Richard Bos)
- Date: Tue, 28 Feb 2006 14:26:09 GMT
"manochavishal@xxxxxxxxx" <manochavishal@xxxxxxxxx> wrote:
I read that every char in expression is promoted to int.
Yes.
So as function arguments are expressions so type promotion should take
place for arguments passed to function.
No. This is only true for old-style declarations, a function without a
declaration, or the variable arguments of a variadic function.
Richard
.
- References:
- Hellp with type promotion
- From: manochavishal@xxxxxxxxx
- Hellp with type promotion
- Prev by Date: Re: Typedef or not
- Next by Date: stdint.h and portability
- Previous by thread: Re: Hellp with type promotion
- Next by thread: Re: Hellp with type promotion
- Index(es):