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
What is the use of PF_INET and SOCK_STREAM?
How do udp sockets work?
What is the use of inet_network()?
How to Examin the Generic Socket Address?
How to Test with No Server?
What is the use of PF_LOCAL and SOCK_STREAM?
What is the use of SOCK_STREAM Socket Type?
What is socket and how it works?
What is the use of inet_addr() Function?
What is the difference between socket and port?
How to test socket connection in linux?
How to Perform Input/Output of Datagrams?
Why bind system call is required in socket programming?
What are the different types of sockets?
How to Generate Addresses?