+ 1
Recursion
How to write a function that gets two arguments: array, size of the array. The function has to return the index of the min value in the array by recursion. In C. Example: Array:{1,-1,3,5,9} Size:5 The function returns: -1
4 Respostas
0
A had a mistake the function has to return 1
0
Code it using a loop (link working code here) and I'll show you the recursive equivalent.
0
How do I link working code?
0
Use plus in circle icon to insert link, select my codes, pick the one you want, and hit done or share in the code, copy to the clipboard, and paste in reply.