Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!gatech!gitpyr!stat!curci From: curci@stat.uucp (Ray Curci (scri)) Newsgroups: comp.lang.c Subject: Re: Character constants Keywords: NULL Message-ID: <7447@pyr.gatech.EDU> Date: 2 Mar 89 17:12:57 GMT References: <13068@steinmetz.ge.com> <102@servio.UUCP> <10138@socslgw.csl.sony.JUNET> <1783@dlvax2.datlog.co.uk> <217@skye.ed.ac.uk> Sender: news@pyr.gatech.EDU Reply-To: curci@stat.fsu.edu (Ray Curci (scri)) Organization: Dept. of Statistics, Florida State Univ. Lines: 8 Why is therer so much discussion about character discussions? A simple printf("%d", sizeof('x') ); reveals that a character constant (at least both on sun3 and ultrix 11/780) are the same as an int (4 chars). Isn't it a lot easier to execute a simple test program than to try to look up this type of information? curci@stat.fsu.edu