I have to create a child process using fork system call and invoke "child()" method in child and wait for the child to finish and print the child exit code in par