int add(int a, int b) {
return a + b;
}
Function declarations (prototypes) can be placed in headers.
Function overloading allows multiple functions with the same name but different parameters.
int add(int a, int b);
float add(float a, float b);
Scope defines the visibility of a variable: