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

What are Private IP Numbers?

894


What are the Advantages of TCP/IP?

1124


How to Reply to a Wild Address?

1210


What is the use of endprotoent(3) Function

1342


How to Form Abstract Local Addresses?

993






What is the Use of the inet_netof() Function?

907


What are the best linux system programming interview questions you've ever asked or been asked?

456


How to Understand Network Byte Order?

1030


What are Address Conversion Functions?

956


How to Deal with Duplicated Sockets?

1162


How TCP/IP Handles Flow Control?

1145


What is Internet Address Classes?

979


What are sockets used for?

469


How to Write a UDP Datagram Client?

954


How to Obtaine the Socket Address?

1020