Hour 5. Calling Functions
What You’ll Learn in This Hour:
What a function does
How to declare and define functions
How to call functions with arguments
How to return a value from a function
What Is a Function?
A function is a section of a program that can act on data and return a value. Every C++ program has at least one function, the main()
Get Sams Teach Yourself C++ in 24 Hours, Sixth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.