Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: down Message-ID: <9160@smoke.BRL.MIL> Date: 13 Dec 88 21:08:41 GMT References: <9142@smoke.BRL.MIL> <45472@yale-celray.yale.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 5 In article <45472@yale-celray.yale.UUCP> wald-david@CS.YALE.EDU (david wald) writes: >Doesn't the expression (c = getchar()) have type (int) regardless of the >type of c? Or will c being a char really prevent this comparison? Doesn't matter; the important point is that wedging the int value returned by getchar() through a char knothole loses information.