Syntax of function prototypes...

U23405 at UICVM U23405 at UICVM
Sun Aug 14 03:13:01 AEST 1988


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 at UICVM



More information about the Comp.lang.c mailing list