Question
1.
2.
3.
4.
Answer (Detailed Solution Below)
Option 4 : exec() / exec()
Advertisement
Detailed Solution
सही उत्तर exec() / exec() है।
Key Points
Helpful?
Question:
Which system call replaces the current process image with a new program image? / कौन-सी सिस्टम कॉल वर्तमान प्रक्रिया छवि को नए प्रोग्राम छवि से प्रतिस्थापित करती है?
1.
fork() / fork()
2.
wait() / wait()
3.
exit() / exit()
4.
exec() / exec()
Correct Answer: exec() / exec()
The exec() family overlays the calling process with a new program image (same PID); fork() creates a new process instead. / exec() उसी PID पर नई प्रोग्राम छवि चढ़ा देता है; fork() नई प्रक्रिया बनाता है।
Downloaded from PrepSnap (prepsnap.in)