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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!