what is the difference between fork() & exec()
Answer Posted / anand
fork() created a newly independent process that has it's own
space in memory and also has own permission depends upon
what you assign
Using exec() the created process is a sub thread of calling
process. They also share area in memory and so that also
share all permission and resources.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How to Form Internet (IPv4) Socket Addresses?
Are sockets full duplex?
How TCP/IP Handles Flow Control?
What is the use of endservent(3) Function?
How do udp sockets work?
What is socket linux?
How to Test with No Server?
Why bind system call is required in socket programming?
What is the use of PF_INET and SOCK_STREAM?
How to perform I/O on Sockets?
What is socket abstraction?
What is the use of setprotoent(3) Function?
How to Understand Netmask Values?
What are the best linux system programming interview questions you've ever asked or been asked?
How to Allocate IP Addresses?