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 Perform Input/Output of Datagrams?
How to Obtaine the Socket Address?
How socket is created?
How to Specify an X.25 Address?
How TCP/IP Handles Lost Packets?
What is socket and how it works?
How do udp sockets work?
How to Understand Netmask Values?
How to Choose a Socket Type?
What are the Advantages of TCP/IP?
What is the difference between socket & port?
What are Reserved IP Numbers?
What is socket connection?
How to Close Sockets?
What is the use of PF_INET and SOCK_STREAM?