what is the difference between fork() & exec()

Answer Posted / mahitha

fork creates a new process where the childs and the parents
address space wil be different
wen we use exec system cal,the child wil be made to share
the pages of the parent..also the permissions wil be shared
between the 2.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How TCP/IP Handles Flow Control?

1207


What does socket consist of?

528


What is the use of PF_LOCAL and SOCK_STREAM?

1284


How to Write a UDP Datagram Client?

1017


Can you send and receive on the same socket at the same time?

518






HOW TCP/IP Handles Duplicated Packets?

1329


What are sockets used for?

529


What is socket linux?

546


How to Bind a Specific Interface Address?

1064


How to Understand Netmask Values?

1019


What is the use of PF_INET and SOCK_STREAM?

1047


How does socket communication work?

575


What is the Use of the inet_makeaddr() Function?

1039


What is the use of endservent(3) Function?

1249


How to Allocate IP Addresses?

1198