What value is returned by function result?

```
int
result(const int a[], int n)
{
int i, r;

r = 0;
for (i = 1; i < n; ++i)
if (a[i] > a[r])
r = i;

return (r);
}
```

a. The subscript of the largest of the first n elements of array a.
b. The value of the largest of the first n elements of array a.
c. The subscript of the smallest of the first n elements of array a.
d. The value of the smallest of the first n elements of array a.
e. The subscript of the last element greater than its predecessor within the first n elements of array a.

a. The subscript of the largest of the first n elements of array a.

Computer Science & Information Technology

You might also like to view...

If you want to separate the field "Beginning to Ending Inventory," which is currently a range of two numbers, to two different fields, your first step should be to:

A) change the primary key. B) insert a field. C) click the "Separate field" button. D) delete the field.

Computer Science & Information Technology

What are the two authentication methods provided by early 802.11 standards?

What will be an ideal response?

Computer Science & Information Technology