Functions and Parameters C++ - Reading Assignment


#101
  1. What is a function parameter?

    A function parameter is a variable used in a function where the value is provided by the caller of the function.

  2. Why do functions need parameters?

    Parameters are the key mechanism by which functions can be written in a reusable way, as it allows them to perform tasks without knowing the specific input values ahead of time.