To print minimum element of the array