Question: Suppose that you declare an array int num [ 1 0 ] . Assuming the function declaration statement given below, what would you use to

Suppose that you declare an array int num[10]. Assuming the function declaration statement given below, what would you use to pass the array to the given function?
int sum_array(int arr[])
{
}
Group of answer choices
sum_array(num)
sum_array(num[0])
sum_array(*num)
sum_array(&num)

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!