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 read socket file in linux?
Can you send and receive on the same socket at the same time?
What is Internet Address Classes?
How to Form Internet (IPv4) Socket Addresses?
Why socket programming is used?
HOW TCP/IP Handles Duplicated Packets?
How to use the socket(2) Function?
How to Allocate IP Addresses?
What are Nameless Sockets?
What is socket connection?
What are Private IP Numbers?
How to use the PF_LOCAL and AF_LOCAL Macros?
How to Write a UDP Datagram Client?
What is the use of PF_INET or AF_INET?
How to Manipulate IP Numbers?