From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: printf("%p"); Date: Wed, 14 Jan 1998 19:52:08 -0800 Organization: Alcyone Systems Lines: 20 Message-ID: <34BD87E8.3FCF02D3@alcyone.com> References: <3 DOT 0 DOT 16 DOT 19980115022038 DOT 3acf43e4 AT hem1 DOT passagen DOT se> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Peter Palotas wrote: > Okay, if you say so, you should know best! Guess I'll just have to > settle > with the ugly looking pointer then! (Why not atleast make it capital > letters!?) DJGPP's behavior is completely compatible with ANSI C. ANSI only states that "the value of the pointer is converted to a sequence of printable characters, in an implementation-defined manner" (ANSI 7.9.6.1). Whether the hexadecimal digits are printed in uppercase or it's preceded with a 0x prefix are completely irrelevant. -- Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com Alcyone Systems / http://www.alcyone.com/max/ San Jose, California, United States / icbm://+37.20.07/-121.53.38 \ "Life may be / the product of imperfections." / (Marclo Gleiser)