Assignment 2 (Due Date: 26-05-2025)
Note: Write your name and registration number in the assignment (Marks=10)
1. Write a C++ program to find the largest element of an integer array.
2. Write a C++ program to find the second smallest elements in a given array of integers.
Also, write comments or briefly explain the code in your own words.