What is the relationship between a fork system call and an exec system call?

In Linux, what is the relationship between a fork system call and an exec system call?
A. A fork system call specifies an executable file and an exec system call executes the file.
B. A child process uses the fork system call to request its parent PID, and an exec system call to request its own PID.
C. A parent process duplicates itself with a fork system call, and the child process replaces itself with an exec system call.
D. A fork system call creates a new kernel instance, and an exec system call executes a command within the current kernel instance.

cisco-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.