CORRECTIONS
Question 5: correction
The prototype for the search function should read
int search(int arr[], int size, int value)
(The last parameter was missing from the original printout.)
Question 6: clarification
It shows up as part (a),
but there really is no part (b).