Question OS-BAS-0067
HardIn a Linux system, what does the call exec() do to the calling process's PID?
- A.
It gives the process a new PID
- B.
It creates a child with a new PID
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
OS Basics question
In a Linux system, what does the call exec() do to the calling process's PID?
It gives the process a new PID
It creates a child with a new PID
Sign up free to see the answer and a step-by-step explanation.
It sets the PID to 0
It keeps the same PID while replacing the program