QA InfoTech Interview Question

write a program to find second largest no in an array using single loop