# Question: would you please help me to solve this question using...

###### Question details

Would you please help me to solve this question. Using c
language.

Modifies the given array so that the smallest and largest
value

are exchanged. You may assume that there is at least one
element.

If the largest value occurs more than once, exchange the first
instance.

If the smallest value occurs more than once, exchange the last
instance

void exchangesl(int a[], int alen){}