Question: QUESTION 8 By default, when an array is passed to a function, is it passed by value or passed by reference? A . by value

QUESTION 8
By default, when an array is passed to a function, is it passed by value or passed by reference?
A. by value
B. by reference
C. neither value, nor reference
D. they are always passed as constants
QUESTION 9
When you pass an array name as an argument to a function, what is actually being passed?
A. The first value in the array
B. the full contents of the array
C. you aren't really passsing anything into the array
D. the address of the first value in the array
QUESTION 10
Given the following array declaration:
double sales [8][10];
There are rows, columns and total elements in the array?
A.10,8,80
B.8,10,80
C.80,8,10
D. Not enough information to tell
 QUESTION 8 By default, when an array is passed to a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!