Path: utzoo!attcan!uunet!lll-winken!xanth!mcnc!uvaarpa!hudson!astsun1!gsh7w From: gsh7w@astsun1.acc.virginia.edu (Greg Hennessy) Newsgroups: comp.lang.c Subject: Re: Null revisited (briefly) Keywords: NULL Message-ID: <1207@hudson.acc.virginia.edu> Date: 1 Mar 89 14:48:59 GMT References: <13068@steinmetz.ge.com> <102@servio.UUCP> <10138@socslgw.csl.sony.JUNET> <1783@dlvax2.datlog.co.uk> <8442@paris.ics.uci.edu> Sender: news@hudson.acc.virginia.edu Reply-To: gsh7w@astsun1.acc.Virginia.EDU (Greg Hennessy) Organization: University of Virginia, Charlottesville Lines: 25 Mark Nagel writes: #If you knew the C language, you'd know that a character constant *is* #an integer. See K&R page 17 and 35. # Picking up the Bible (K&R) and quoting without permission from page 17 Any single character can be written between single quotes, to produce a value equal to the numerical value of the character in the machine's character set; this is called a {\it character constant}. So, for example, 'A' is a character constant; in teh ASCII character set its value is 65, the internal representation of the character A. and page 35 says A {\it character constant\/} is a single character written within single quotes, as in 'x'. end quotations of K&R ISBN 0-13-110163-3 (aka first edition). -Greg Hennessy, University of Virginia USPS Mail: Astronomy Department, Charlottesville, VA 22903-2475 USA Internet: gsh7w@virginia.edu UUCP: ...!uunet!virginia!gsh7w