

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Question 1 Print an array
Write a recurisive function printArray that takes an array and the size of the array as arguments and return nothing. The function should stop processing and return when is receives an array of size zero.
Question 2 Find the minimum value in an array
Write a recurisive function recursiveMinimum that takes an integer array and the array size as arguments and return the smallest element of the array. The function should stop processing and return when it receives an array of 1 element.