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 of the inet_netof() Function?

889


What is socket abstraction?

470


How to Test with Other IP Numbers?

1054


What is the use of PF_INET or AF_INET?

1081


How to Write a UDP Datagram Server?

925






How to Bind Addresses to a Socket?

898


What is the use getservent(3)?

1128


How to Deal with Duplicated Sockets?

1141


What is Internet Address Classes?

960


What is the use of inet_network()?

979


How to Examin the /etc/services File?

1169


How to Perform Endian Conversions?

941


How to Test with No Server?

1081


How to Compare Sockets to Pipes?

952


What are Reserved IP Numbers?

983