PDA

View Full Version : making a tree using fork



majidht
June 7th, 2011, 07:53 PM
hello guys.....i'm not familiar with programming and i need to answer this question asap,i appreciate if anybody can help me with this:
make this tree using fork():

oA
/ \
oB oC
\
oD


thanx a lot

schauerlich
June 7th, 2011, 08:17 PM
1) This is homework
2) Learn how to differentiate between parent and child processes.