Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp Path: utzoo!watmath!clyde!burl!ulysses!bellcore!decvax!decwrl!sun!rmarti From: rmarti@sun.uucp (Bob Marti) Newsgroups: net.lang.c++ Subject: Function Overloading Message-ID: <3348@sun.uucp> Date: Tue, 11-Mar-86 13:09:05 EST Article-I.D.: sun.3348 Posted: Tue Mar 11 13:09:05 1986 Date-Received: Fri, 14-Mar-86 04:09:34 EST Distribution: net Organization: Sun Microsystems, Inc. Lines: 26 Assume the following declarations: int i; int f(int x) { // some code } overload f; float f(int x) { // some code } and the following call of function f: (void) f(i); Which function will be called, the one corresponding to int f(int x) or the one corresponding to float f(int x)? Bob Marti, Sun Microsystems ARPA: rmarti@sun.arpa UUCP: ... {decvax, hplabs, ihnp4, seismo, ucbvax}!sun!rmarti