Question: Write a function in a high-level language for int find42(int array[], int size). size specifies the number of elements in array, and array specifies the
Write a function in a high-level language for int find42(int array[], int size). size specifies the number of elements in array, and array specifies the base address of the array. The function should return the index number of the first array entry that holds the value 42. If no array entry is 42, it should return the value –1.
Step by Step Solution
3.47 Rating (173 Votes )
There are 3 Steps involved in it
int find42int array i... View full answer
Get step-by-step solutions from verified subject matter experts
