Question
A child process must replace its current program image with a different executable. Which call family is designed for this task?
Select an option. Your answer will be checked instantly.
Correct Answer: B. exec()
Explanation:
exec() loads a new program into the current process while preserving the process identity.
It replaces the address-space contents rather than creating an additional process.
Leave a Reply