Question: C Programming Declare an integer array of size 100 and populate it with random numbers in the range -501 to 1025. This array is passed
C Programming
Declare an integer array of size 100 and populate it with random numbers in the range -501 to 1025. This array is passed to a function called evaluate. The function parameters should accept the address of this array using a pointer. The function must find the number of positive numbers, the number of odd values and the number of even values of this array. The main must create extra variables so the function can pass back these values. These values must be printed in main. All operations in the function must use pointers notations rather than array notations.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
