Multiple choice technology programming languages

fork() and exec() are essentially doing the same job

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

fork() creates a new child process by duplicating the calling process, while exec() replaces the current process image with a new program. They perform entirely different tasks.