Lesson 5 - Function 1
Lesson 5 - Function 1
Lesson 05
FUNCTIONS (I)
• Using functions we can structure our programs in a more modular
way, accessing all the potential that structured programming can offer
to us in C++.
• You will see that the declaration begins with a type, that is the type of the
function itself (i.e. the type of the data that will be returned by the
function with the return statement). But what if we want to return no
value?