Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site rtech.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!hao!hplabs!intelca!qantel!dual!unisoft!mtxinu!rtech!jas From: jas@rtech.ARPA (Jim Shankland) Newsgroups: net.lang.c Subject: fun with your pcc-based compiler Message-ID: <353@rtech.ARPA> Date: Tue, 7-May-85 14:57:23 EDT Article-I.D.: rtech.353 Posted: Tue May 7 14:57:23 1985 Date-Received: Sun, 12-May-85 01:46:44 EDT Distribution: net Organization: Relational Technology, Berkeley CA Lines: 20 Anybody want to guess how pcc-based compilers interpret the integer constant "0x"? How about "00x34"? (That is, as in: main() { int i; i = 0x; /* or 00x34 ... */ printf( "%x\n", i ); } ). Have fun. Jim Shankland Relational Technology, Inc. ..!ucbvax!mtxinu!rtech!jas ..!ihnp4!pegasus!rtech!jas