sizeof (int) - 1

Rick Genter rgenter at labs-b.bbn.com
Fri Oct 3 21:28:39 AEST 1986


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 at labs-b.bbn.COM  (Internet new)	Cambridge, MA   02238
rgenter at bbn-labs-b.ARPA (Internet old)	linus!rgenter%BBN-LABS-B.ARPA (UUCP)



More information about the Comp.lang.c mailing list