Re: Hellp with type promotion



"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
.