>>87
int *p=func();
printf("%d %d", *p, *(p+1));


int *func(void)
{
static int v[2];
v[0] = rand() % 10;
v[1] = rand() % 10;
return v;
}

でどう?