#include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <unistd.h>#include <time.h>#include <sys/wait.h>int main(){ int n; srand((unsigned)time(NULL)); pid_t pid=fork(); if(pid==0) { while(1) { fprintf(stderr, "%d",rand()%10); sleep(1); } } else { while(1) { fprintf(stderr, "%c",'A'+(rand()%26)); sleep(1); } }}