Function alg_arr_largest_num

Function Documentation

size_t alg_arr_largest_num(const size_t *array, size_t n_elts)

Find the largest # in an array of non-negative integers.

Parameters:
  • array – The array to search

  • n_elts – # elements in array

Returns:

The largest #, or 0 if an ERROR occurred