You are right by starting w/ the topmost element in calling the function " (3, our_array, 9)"
but the function starts counting from "array[length-1]" which mean that if the number you are looking for is in the last element you'll miss it
take out "-1"




Reply With Quote