Finding the largest value in an array using pointers

In this recipe, all the elements of the array will be scanned using pointers.