Mentors - We Change The Way You Think
  • Login
  • Sign Up
  • Class 10
    • Sample Papers
    • Previous Years
  • Class 12
    • Sample Papers
    • Previous Years
    • ISC Computer Practical
    • ISC Computer Guess
    • Viva
    • Computer Project
  • Notes
  • QA
  • Misc
    • Trivia
    • Quotes
    • Riddles
  • English Language
  • Computer Science
  • Physics
  • Chemistry
  • English Literature
Arrays 1d Questions

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.

Share with others

 

©2023 Mentors. All Rights Reserved. Privacy Policy and Terms of Use