QA InfoTech Interview Question

1.find second largest element in array. 2.program to find occurence of a character in string.