I am totally new with C.
What are the process items that are inherited in a child created using fork();?
fork();
What are the process items
See the official description of fork(2)