Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!tektronix!hplabs!hpda!hpisoa2!hpitg!edison!jso@edison From: jso@edison Newsgroups: net.lang Subject: Re: Re: structured assembler (BASIC) Message-ID: <705@edison> Date: Thu, 24-Apr-86 18:29:00 EDT Article-I.D.: edison.705 Posted: Thu Apr 24 18:29:00 1986 Date-Received: Tue, 13-May-86 01:38:48 EDT Lines: 23 Subject: Re: Re: structured assembler (BASIC) [Really: C builtin functions?] > You are sort of right, but sizeof qualifies as a builtin function, > even though it is a compile-time function vs run-time. Anyone disagree? > > Paul Guthrie `When the going gets weird, > ihnp4!ihdev!pdg The weird turn pro' > - H. Thompson Yes. Try this on your favorite C compiler and tell me if you still think that "sizeof" is a function as opposed to an operator. main() { int a; printf("%d\n",sizeof a); /* note no parentheses */ } John Owens @ General Electric Company (+1 804 978 5726) edison!jso%virginia@CSNet-Relay.ARPA [old arpa] edison!jso@virginia.EDU [w/ nameservers] jso@edison.UUCP [w/ uucp domains] {cbosgd allegra ncsu xanth}!uvacs!edison!jso [roll your own]