Path: utzoo!attcan!uunet!ns-mx!iowasp.physics.uiowa.edu!maverick.ksu.ksu.edu!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!apple!usc!samsung!uak ari.primate.wisc.edu!sdd.hp.com!hplabs!hpcc01!hpcuhb!hpsqf!hpopd!richardh From: richardh@hpopd.HP.COM (Richard Hancock) Newsgroups: comp.lang.c Subject: Re: Novice MicroSoft C5.1 question Message-ID: <7990014@hpopd.HP.COM> Date: 26 Jul 90 14:24:43 GMT References: <9609@tekigm2.MEN.TEK.COM> Organization: HP PWD, Pinewood UK. Lines: 7 Far pointers (ie. segment:offset) are 32-bit quantities in Microsoft-C. Your printf format strings assume that they are represented in 16-bits (ie. %u). The latter example doesn't work because the segment part of y is being treated as the value for the second %u, ie. y is actually 7647:11094 and &x is 7647:11090. Whether or not pointers are considered to be far by default depends on the memory model you're compiling under. Richard.