Question: Write a C program that includes the following: 1. (3 points) A function that prints an integer array with the following prototype: void PrintIntegerArray (int

Write a C program that includes the following: 1. (3 points) A function that prints an integer array with the following prototype: void PrintIntegerArray (int *a , int size); 2. (5 points) A function that multiplies the prime numbers in the array a by the value of c, with the following prototype: void MultIntegerArrayByConst (int *a , int size, int c); 3. (4 points) The main function that: -Declares integer named c as well as an integer array named intArray that contains 20 elements. -Reads c and intArray from the keyboard. -Calls MultIntegerArrayByConst to multiply intArray by c. -Calls PrintIntegerArray to print intArray
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
