Function Declarations
In this section, we will understand the purpose of functions in C++.
We'll cover the following...
Definition #
A function is a set of statements and operations. Like variables, functions have names. When a function is invoked or called, the sequence of statements inside it is executed.
Rules of declaration #
-
The name of the function should hold some meaning as to what it actually does.
-
A function declaration ...