Q25
Which of the following process state transitions is/are NOT possible?
More than one option can be correct.
Show answer without attempting
Answer: B, C
GATE CS · Processes and Threads · 3 questions
3 Processes questions from GATE CS papers (2024), each with the official answer key. Part of Processes and Threads. Answer any question right here and it is marked straight away, or practise them one at a time.
Answer: B, C
fork() and wait() system calls. Assume that the code compiles and runs correctly, and that the system calls run successfully without any errors.int x = 3;
while(x > 0) {
fork();
printf("hello");
wait(NULL);
x--;
}printf statement is executed is _______Answer: 14
Answer: A, B
0/30 correct0 marks