Quiz: Write Your Own Commands (Functions)
Test your understanding of function creation, usage, and return types in C++.
We'll cover the following...
We'll cover the following...
In the last lesson, you learned how to write your own functions in C++. You used void functions to perform tasks and return-type functions to send back values, all while organizing your code into neat, reusable blocks.
Let’s go through a quick quiz to make sure you’ve locked in how functions work.