Neha Verma <[EMAIL PROTECTED]> writes:
> No, if u writ printf("%u", &x)
> Then it will print address, coz address is unsigned int

signed, unsigned, hexadecimal, binary, octal, etc.. are mere
representations. The content of the 32 bits is the same. If you
view that 32 bits as a signed integer, the MSB will be considered
as a sign., if you view it as a unsigned.. it'll be otherwise..

However, in one view your argument is right that an address
_should_ be seen as a unsigned integer., but the OP wanted to know
what that piece of code does.. 

-- 
A proud GNU user
http://www.joesteeve.tk/ | http://gnukid.shyper.com/

Attachment: pgp5rQEi4b21D.pgp
Description: PGP signature

Reply via email to