in C , using processes