Discuss it!
You can pass pointers to locations which the function being called can populate,or have the function return a structure containing the desired values, or use globalvariables.