In C++, a function declaration is the initial step in indicating that there is a function somewhere in the program which can be called upon. Declaring a function involves stating its name, its return type, and what kind of inputs, known as parameters, it will accept. In this case, a function called `sumOfThree` is declared to take three integer parameters.
- The function's return type is specified first, which is `int`. This tells the program to expect an integer as the outcome of the function.
- Then comes the function name, like `sumOfThree`, giving the function a clear identifier.
- Lastly, the parameters are listed inside parentheses, using their type followed by a variable name: `(int a, int b, int c)`.
A function declaration looks like:
```cpp
int sumOfThree(int a, int b, int c);
```
This indicates to the compiler that somewhere in the code, there will be a function defined that matches this signature.