Questa è la tua azienda?
Find the two highest elements in an unsorted array
Anonimo
Not sure what language this is suppose to be, but: 1) sizeof(arr), which arr is a pointer, is not going to be the size of the in bytes 2) you have the function returning an int *, but there is no return statement, so you are returning garbage 3) why are you comparing arr[i] to arr[0] every time?!? This is a really bad answer.