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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started