If exec is called immediately after forking ____________
(a) the program specified in the parameter to exec will replace the entire process
(b) all the threads will be duplicated
(c) all the threads may be duplicated
(d) none of the mentioned
This question was posed to me during an internship interview.
My question is taken from The Fork and exec System Calls in chapter The Linux System of Operating System