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

1. int foo( tube[] ) 2. int foo( int x ) 3. int foo( int* px ) 4. int foo( int*

ID: 3652894 • Letter: 1

Question

1. int foo( tube[] )

2. int foo( int x )

3. int foo( int* px )

4. int foo( int* tube, size)

Illustration 4: Function definintions

----------------------------------------------------------------

33. Illustration 4: Which function definition lines can be

called with the name of an array?

A. 1,3,4

B. 1,3

C. 3,4

D. 4

34. Illustration 4: Which function definition lines can be

called with a copy of the original value?

A. 1

B. 4

C. 3

D. 2

35. Illustration 4: Which function definition can be called

with an array value (like foo(array[3]);)?

A. 2

B. 1

C. 4

D. 3

36. Illustration 4: Which function definition can include the

dimension property of an array?

A. 1

B. 3

C. 4

D. 2

37. Illustration 4: Which function definition can be called

with the address of an integer value?

A. 3

B. 2

C. 4

D. 1

Explanation / Answer

A B A C A