Passing an array to a function, failed with exit code 1 (Xcode)
I'm writing a program (on Xcode, OSX) to find the largest number in an array by passing it to a function. Apparently, the compiler reports no other error except 'failed with exit code 1'. I'm stuck.
Can any one suggest what is wrong in the program? A help would be appreciated :)
int largest(int array,int holder);
printf("Enter five numbers to select the largest of them:\n");
int largest(int array, int holder)