IBM interview question

What is the difference between fork and exec

Interview Answer

Anonymous

24 Jun 2012

fork creates another child process and the control is with the parent process whereas exec creates another process which takes over the control