Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Part A - Understanding Function Arguments Mark each statement as either true or

ID: 3567034 • Letter: P

Question

Part A - Understanding Function Arguments Mark each statement as either true or false. When finished, check your answers with a classmate. 1. An argument that is expression. passed by value may be a variable, constant, or 2. An argument that is passed by reference may be a variable, constant, or expression. 3. All formal arguments of a function are local variables in the function. 4. Variables declared in the main function are global in scope. 5. A function's type is determined by the type of its arguments.

Explanation / Answer

1.

true

2.

False, it must be an address(or object in case of java)

3.

true

4.

false, they are local to main function

5.

False, it is defined by the return type it is given(like void in void main();, int in int fun();)