Practice level 9 · Medium · 20 programs

Arrays

Sum, search, reverse, merge, duplicates and second largest.

The programs in this level

  1. Store and print array
  2. Input array from user
  3. Sum of array elements
  4. Average of array
  5. Find maximum element
  6. Find minimum element
  7. Count even elements
  8. Count odd elements
  9. Count positive elements
  10. Count negative elements
  11. Search element
  12. Linear search
  13. Reverse array
  14. Copy array
  15. Merge two arrays
  16. Compare two arrays
  17. Find duplicate elements
  18. Remove duplicates
  19. Find second largest
  20. 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