Simreka interview question

Write a program to get the 2nd largest in an array.