1.5.1 Functions in C++
As with other languages, we use functions to:
Make our code easier to understand
Avoid writing repeated code, and make our code reusable
Simplify our code
You will see that functions work in a similar way to other languages, but the syntax and capabilities are a little different at times. In this lesson, you will explore the syntax and use of functions in C++.
Last updated