Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site uvacs.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!whuxl!whuxlm!akgua!mcnc!ncsu!uvacs!mac From: mac@uvacs.UUCP (Alex Colvin) Newsgroups: net.lang,net.lang.c Subject: Re: Re: Re: ... C builtin functions? Message-ID: <378@uvacs.UUCP> Date: Fri, 18-Apr-86 11:24:39 EST Article-I.D.: uvacs.378 Posted: Fri Apr 18 11:24:39 1986 Date-Received: Mon, 21-Apr-86 08:02:16 EST References: <41@cbmvax.cbmvax.cbm.UUCP> <824@ttrdc.UUCP> <202@chronon.UUCP> <359@uvacs.UUCP> Organization: U.Va. CS dept. Charlottesville, VA Lines: 18 Xref: watmath net.lang:2382 net.lang.c:8666 > > >C has standard built-in functions???? > > > Well, how about sizeof(foo)? As has been pointed out, SIZEOF is not a function, it's an operator, like "++". Functions are often built-in in languages such as PASCAL, PL/I, FORTRAN, etc. because they require special syntax (formats in the argument lists, isubs) or information not kept at runtime (size of object, types of arguments). These must be wired in to the compiler. C uses the fixed set of builtin operators for most of these cases. Variable argument lists (printf), the typical sign of a built-in, are handled otherwise in C. See Algol68 for another language with operators but no need for BIFs. Algol68's greatest success seems to be as an influence on C.