Array

I have a Array. I dont know how large the array is. How can I get index of the smallest number in the array?
I know array contains only numbers.