Possible Duplicate:
returning multiple values from a function
There is this exercise I have, and it says that I have to make a function that will read with appropriate inducements the height and number of hits a ball hits the ground.
How can a function return two values? Doesn't it only return one? What will it return?
float insert(int h,int n)
{
printf ("Give a value for height and number of hits");
scanf ("%d %d",&h,&n);
return
}