Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site sal.UUCP
Path: utzoo!linus!philabs!cmcl2!seismo!mcvax!enea!sal!dg
From: dg@sal.UUCP (Dag Gruneau)
Newsgroups: net.lang.c
Subject: Re: if(p)
Message-ID: <575@sal.UUCP>
Date: Tue, 5-Nov-85 15:09:52 EST
Article-I.D.: sal.575
Posted: Tue Nov  5 15:09:52 1985
Date-Received: Fri, 8-Nov-85 20:55:17 EST
References: <1671@brl-tgr.UUCP> <30000017@ISM780.UUCP>
Reply-To: @sal.UUCP (Dag Gruneau)
Organization: Objecta, Taby, Sweden
Lines: 21

In article <4173@mordor.UUCP> jdb@mordor.UUCP (John Bruner) writes:
>Pointer to integer coercions are possible (just as conversions
>between floating-point and integers are possible).  However,
>K&R does not guarantee that all integers can be copied into a
>pointer.  It only guarantees that (given sufficiently large
>integers, conversion from pointer to integer to pointer will
>return the original pointer.


K&R does not guarantee anything. See p. 102, "on most machines
a pointer can be assigned to an integer and back without
changing it" that's far from a guarantee!

-- 

	Dag Gruneau
	Stockholm, Sweden

UUCP:  {seismo,decvax,philabs}!mcvax!enea!sal!dg
ARPA:  decvax!mcvax!enea!sal!dg@berkeley.arpa
       mcvax!enea!sal!dg@seismo.arpa