rand.c