function arguments declaration
Posted on 1999-01-25
I have encountered the following code:
File - aFile.h
void aFunction(char*, char*, int);
void aFunction(SomeText1, SomeText2, SomeInt)
char SomeText1, SomeText2;
I am not used with such code.
What confuses me is the declaration of the three argument variables, outside the function body .
I was used with prototyping the function in an .h file, then defining it in the .c file.
Can you please help.