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

Answer Posted / laxman masadi

fork: Create a new process

exec: replace a process's objectcode with contents of file
(executable)

Is This Answer Correct ?    53 Yes 10 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?

905


Are sockets bidirectional?

431


How to Form Local Addresses?

1015


What are sockets in linux?

499


Are udp sockets bidirectional?

484






How to Form Traditional Local Addresses?

961


How to test socket connection in linux?

479


How to Manipulate IP Numbers?

980


What is the Use of the inet_ntoa() Function?

938


How to look up a Service by Port and Protocol?

1119


How to use the socket(2) Function?

993


What does socket consist of?

462


How to Define a Socket?

1002


How to Bind a Specific Interface Address?

990


What is socket linux?

480