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

Answer Posted / alka

fork() creates a new process where exec() not....
exec() shares memory of parent here fork() process operates
independently...

Is This Answer Correct ?    41 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use getservent(3)?

1223


How TCP/IP Handles Lost Packets?

1329


How to Allocate IP Addresses?

1207


How to Close Sockets?

1125


How TCP/IP Handles Flow Control?

1219






What is the use of inet_network()?

1069


What is the Use of the inet_makeaddr() Function?

1053


What are Address Conversion Functions?

1056


How do udp sockets work?

566


What is socket file in linux?

580


How to Understand Netmask Values?

1029


How to Write a UDP Datagram Server?

1022


What does socket consist of?

539


What is socket and how it works?

565


What is the setservent(3) Function?

1238