Path: utzoo!attcan!uunet!husc6!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: hardcoded constants Message-ID: <9230@smoke.BRL.MIL> Date: 27 Dec 88 04:55:02 GMT References: <2636@m2-net.UUCP> <1104@goofy.megatest.UUCP> <1797@dataio.Data-IO.COM> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 9 In article <1797@dataio.Data-IO.COM> bright@dataio.Data-IO.COM (Walter Bright) writes: >But doesn't sizeof('\0') return sizeof(int), instead of sizeof(char)? Yes ... >Remember, the integral promotions are being done. ... but integral promotion has nothing to do with it. '\0' IS an integer constant of value 0 and type int, not char.