Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site brl-vgr.ARPA
Path: utzoo!watmath!clyde!floyd!harpo!seismo!brl-vgr!gwyn
From: gwyn@brl-vgr.ARPA (Doug Gwyn )
Newsgroups: net.lang.c
Subject: Re: Mixing char and int types as parameters in portable (summary).
Message-ID: <2753@brl-vgr.ARPA>
Date: Tue, 20-Mar-84 17:54:23 EST
Article-I.D.: brl-vgr.2753
Posted: Tue Mar 20 17:54:23 1984
Date-Received: Wed, 21-Mar-84 04:56:25 EST
References: <5743@mcvax.UUCP>
Organization: Ballistics Research Lab
Lines: 8

' ' is NOT a char, despite appearances.  It is an int.  So is 'ab'.

Actual arguments to functions are widened depending on type (this is a
side-effect of the PDP-11 implementation, now embedded in the language).
Chars are widened to ints and floats are widened to doubles.

Therefore it makes little sense to declare the formal parameters of a
function to be type char or float, since actual arguments never will be.