A typical way is to supply the function with many pointers in the parameterlist :
int ival1, ival2, ival3;
func(&ival1, &ival2, &ival3);
printf("\nival1 = %d", ival1);
...
void func(int * p1, int * p2, int * p3)
{
*p1 = 100;
*p2 = 200;
*p3 = 300;
}
Also you could simply supply the function with the address of a structure containing all the required members.
/JOlesen