Checkpoint 11.5.1.
When writing a member function, where should you declare the implicit parameter to be
const
?
- Before the parameter list.
- Incorrect! Try again!
- Inside the parameter list.
- Incorrect! This would be correct if we were talking about a free-standing function.
- After the parameter list.
- Correct!
- Implicit parameters are always const and don’t need to be declared.
- Incorrect! Parameters are only const if they are not modified inside the function, implicit parameters are no exception.