Starting Vocational Training From 1-May-2024 Get Detail


C++

Array in C++ language
1.

Write a C++ program to find the number of pairs of integers in a given array of integers whose sum is equal to a specified number.


Solution
2.

Write a C++ program to find the missing element from two given arrays of integers except one element.


Solution
3.

Write a C++ program to find the two repeating elements in a given array of integers


Solution
4.

Write a C++ program to move all negative elements of an array of integers to the end of the array without changing the order of positive element and negative element.


Solution
5.

 Write a C++ program to separate even and odd numbers of an array of integers. Put all even numbers first, and then odd numbers. 


Solution
6.

Write a C++ program to find the most occurring element in an array of integers.


Solution
7.

Write a C++ program to find k largest elements in a given array of integers.


Solution
8.

Write a C++ program to find the largest three elements in an array.


Solution
9.

Write a C++ program to find the largest element of a given array of integers. 


Solution