Path: utzoo!attcan!uunet!husc6!think!ames!pasteur!ucbvax!UICVM!U23405
From: U23405@UICVM
Newsgroups: comp.lang.c
Subject: Syntax of function prototypes...
Message-ID: <8808171403.AA05181@ucbvax.Berkeley.EDU>
Date: 13 Aug 88 17:13:01 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 18

Does anyone know (or know where to find) information about the syntax of
function prototypes? For example, is this correct:?

          int something(int a; float b; char c;);
          ...
          int something(int a; float b; char c;)
          {
               a += (int) b - (int) c;
               return a;
          }
          ...
          something(1,2.0,'x');

For example, do the variable names in the function declaration have to agree
with the variable names in the function definition, etc.?

                                                 Michael Steiner
                                                 Email: U23405@UICVM