i want to generate random numbers between 0 and 20, 10 times inside child and pass them every time to parent. I have this:
int fd[2]; srand(time(N