I'm trying to answer a couple questions for self checking. I believe I know the answers, but would like someone else's opinion. Thanks in advance.
A variable defined inside a function is referred to as?
a global variable
*a local variable
*a function variable
*a block variable
When invoking a function with a reference object parameter, ________ is passed.
the reference of the object
*the object is copied, then the reference of the copied object
*the contents of the object
*a copy of the object
Thank you, so you're saying for Q1 the answer is local variable?