least complex but more coding way?
create another function similar to your minimum function, but return the index of the minimum value instead.

Any other method would atleast require pointers if you plan on using the same function to obtain both min value and index.

or you could just do the printfs in the function. Very non reusable code then though...