Category: Arrays 1d
- Write a program to print the sum of all the elements of an array of size 'm'.
- Write a program to reverse an array without using any other array or any temporary variable to swap values.
- Write a program to find the number of prime elements in an array.
- Write a program to print the frequency of each element in an array.
- Write a program to remove the duplicate elements from an array.
- Write a program to insert a given number at the given position in an array.
- Write a program to delete an element from an array.
- Write a program to display the mean and median of a set of values entered by the user.
- Write a program to create two arrays of size m and n, merge them into a third array and display the merged array.
- Write a program to create two arrays of size m and n, merge them into a third array while sorting them. You are not allowed to sort the array after merging.