Which of the following would be a correct statement with a call to the function findSmallest, which returns the index of the smallest element of an array. The function prototype is:

int findSmallest (int [], int, int);
and the array definition is:
int list[8];

a) cout << findSmallest (list, 0, 7);
b) findSmallest (list, 1, 8);
c) int min = findSmallest (list, 1, 8);
d) findSmallest (list, 0, 7);

a) cout << findSmallest (list, 0, 7);

Computer Science & Information Technology

You might also like to view...

In the function =COUNTA(FirstName), FirstName is an example of a(n) ________ range

A) named B) column C) defined D) data

Computer Science & Information Technology

When filling out a form on the Web, the test to tell computer and humans apart is known as a(n):

A) CAPTCHA B) SMTP C) UCE D) POP3

Computer Science & Information Technology