B
Bill Cunningham
Is extern used to externalize functions as well as variables? If I have
this function,
int num(int n);
Should it be declared as above in the file in which main is called and
compiled with the file that contains num's body? Or should it be declared as
this,
extern num (int n);
Bill
this function,
int num(int n);
Should it be declared as above in the file in which main is called and
compiled with the file that contains num's body? Or should it be declared as
this,
extern num (int n);
Bill