Q1medium
In Unix-like systems, what does the fork() system call return to the
parent process?
process_fork.c
pid_t pid = fork();
if (pid > 0) {
// Parent Process
}
Topic-wise practice questions for Operating Systems. Test your knowledge, check solutions on demand, and pace your preparation.
pid_t pid = fork();
if (pid > 0) {
// Parent Process
}