Article View: net.lang.c
Article #9477Re: sizeof (int) - 1
From: Rick Genter
Date: Fri, 03 Oct 1986 11:28
Date: Fri, 03 Oct 1986 11:28
11 lines
827 bytes
827 bytes
The expression sizeof (int) - 1 is not ambiguous. The operand of "sizeof" must either by a typecast or an lvalue. "(int) -1" is neither. -------- Rick Genter BBN Laboratories Inc. (617) 497-3848 10 Moulton St. 6/512 rgenter@labs-b.bbn.COM (Internet new) Cambridge, MA 02238 rgenter@bbn-labs-b.ARPA (Internet old) linus!rgenter%BBN-LABS-B.ARPA (UUCP)
Technical Details
Message-ID:
<4331@brl-smoke.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!brl-adm!brl-smoke!smoke!rgenter@labs-b.bbn.comShow Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!brl-adm!brl-smoke!smoke!rgenter@labs-b.bbn.com From: rgenter@labs-b.bbn.com (Rick Genter) Newsgroups: net.lang.c Subject: Re: sizeof (int) - 1 Message-ID: <4331@brl-smoke.ARPA> Date: Fri, 3-Oct-86 07:28:39 EDT Article-I.D.: brl-smok.4331 Posted: Fri Oct 3 07:28:39 1986 Date-Received: Sat, 4-Oct-86 12:41:14 EDT Sender: news@brl-smoke.ARPA Lines: 11