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
Are sockets full duplex?
How to read socket file in linux?
How to Specify the Domain of a Socket?
What is the use of PF_INET and SOCK_DGRAM?
How does socket communication work?
How to Initialize a Wild Internet Address?
How to Test with Other IP Numbers?
How to Test the Datagram Client and Server?
How to Close Sockets?
How to Define a Socket?
Are udp sockets bidirectional?
What is the difference between socket and port?
What does socket consist of?
How to look up a Service by Port and Protocol?
What is the use of PF_LOCAL and SOCK_STREAM?