Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!tgr!cottrell@nbs-vms.ARPA From: cottrell@nbs-vms.ARPA Newsgroups: net.lang.c Subject: SIZEOF Message-ID: <7527@brl-tgr.ARPA> Date: Fri, 18-Jan-85 20:31:58 EST Article-I.D.: brl-tgr.7527 Posted: Fri Jan 18 20:31:58 1985 Date-Received: Mon, 21-Jan-85 01:12:47 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 16 K&R page 192 first paragraph: "The compilers currently allow a pointer to be assigned to an integer, an integer to a pointer, and a pointer to a pointer of another type. THE ASSIGNMENT IS A PURE COPY OPERATION, WITH NO CONVERSION. This usage is nonportable, and may produce pointers which cause addressing exceptions when used. However, it is guaranteed that the assignment of the constant 0 to a pointer will produce a null pointer distinguishable from a pointer to any object." This says to me that the sizes must be the same. Changing the size is a conversion in my eye. I believe you when you say that there are compilers in wide use that do this, but I have heard lots of weird stuff about what someone's compiler does. Brain damage is everywhere! */