Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ptsfa!lll-lcc!rutgers!dayton!rosevax!sds!dave From: dave@sds.UUCP Newsgroups: comp.lang.c Subject: Re: Query: Implementation with non-zero NULL Message-ID: <414@sds.UUCP> Date: Wed, 3-Jun-87 10:30:33 EDT Article-I.D.: sds.414 Posted: Wed Jun 3 10:30:33 1987 Date-Received: Sat, 6-Jun-87 11:07:18 EDT References: <158@delftcc.UUCP> <3673@gitpyr.gatech.EDU> Organization: SciCom Data Services, Minnetonka, MN Lines: 22 Keywords: C, NULL, portability In article <3673@gitpyr.gatech.EDU>, allen@gitpyr.gatech.EDU (P. Allen Jensen) writes: > [...] The prime also has modes of operation in which > pointers are 48 bits even though long, int and float are all 32 bits. I thought the C language guaranteed that there was an integral type large enough to hold any pointer type. From p. 210 of the Apocrypha (== Appendix A of K&R :-) A pointer may be converted to any of the integral types large enough to hold it. Whether an int or long is required is machine dependent. Although the word "guarantee" doesn't appear here (as it does elsewhere), the second sentence seems to disallow the first sentence from being vacuously true. Dave Schmidt Quote for the day: "The superiorly armed force must win in battle." - G. Custer