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 to use the PF_LOCAL and AF_LOCAL Macros?

1198


How to Reply to a Wild Address?

1300


What is the use of PF_LOCAL and SOCK_STREAM?

1293


What is socket and how it works?

565


How to Form Abstract Local Addresses?

1067






What does socket consist of?

539


How to perform I/O on Sockets?

985


How to Obtaine the Socket Address?

1119


How socket is created?

545


Why bind system call is required in socket programming?

545


How to Examin the /etc/services File?

1274


What are Nameless Sockets?

1201


What are the different types of sockets?

575


What is the use of PF_INET and SOCK_DGRAM?

1142


How to Test with Other IP Numbers?

1159