Practice level 9 · Medium · 20 programs
Arrays
Sum, search, reverse, merge, duplicates and second largest.
The programs in this level
- Store and print array
- Input array from user
- Sum of array elements
- Average of array
- Find maximum element
- Find minimum element
- Count even elements
- Count odd elements
- Count positive elements
- Count negative elements
- Search element
- Linear search
- Reverse array
- Copy array
- Merge two arrays
- Compare two arrays
- Find duplicate elements
- Remove duplicates
- Find second largest
- Find second smallest
Unlock this lesson
Create a free account, then buy the course to open every lesson.
Everything in C Programming: BCA, MCA, BTech & O Level
- 37 step-by-step lessons
- 10 mini projects with solutions
- A final project for your portfolio
- Real commands and real output in every lesson
- Practice task with a solution in each lesson
- Progress saved to your account