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 inet_network()?

997


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

456


Why bind system call is required in socket programming?

450


What is the use of recvfrom(2) Function?

986


What is the use of SOCK_STREAM Socket Type?

1029






How to Specify an X.25 Address?

1003


how to get client port number in server socket programming??

1965


How to Close Sockets?

1033


Are udp sockets bidirectional?

485


Are sockets full duplex?

491


How to Choose a Socket Type?

940


How TCP/IP Handles Sequencing?

1155


What are Reserved IP Numbers?

1002


Why socket programming is used?

486


What is the use of endservent(3) Function?

1179