//Second largest element in the array #include #include int second(int arr[],int size) { int max1=arr[0],max2; for(int i=0;imax1) //Find largest element in the array { max2=max1; max1=arr[i]; } else if (arr[i]>max2 && arr[i] 88 45 Time Compexity: O(n) Space compexity: O(1) */