Question: Given two Arrays, arr1 and arr2, write a C++ function to print the array that contains more prime numbers. Note: You must use the following
Given two Arrays, arr1 and arr2, write a C++ function to print the array that contains more prime numbers.
Note: You must use the following header:
void PrintPrimes(int arr1[],int arr2[]);
You can define other helper functions upon need.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
