You are to choose between two procedures, both of which compute the mini¨mum value in an array of integers. One procedure returns the smallest integer if its array argument is empty. The other requires a nonempty array. Which procedure should you choose and why?
Which procedure should you choose?
why you have chose it?
just explaination with out coding
In my understanding I choose the non-empty array because may be the value of the empty array can be the smallest integer of the empty array.
so i need your help to know is it correct or wrong