when a process is created using fork(). what is shared
between parent process and child process.
1.Heap 2. stack 3. shared memory segments 4. I/O handles

Answer Posted / sushil kumar

(3)shared memory segments
reason:-When a fork() system call is issued, a copy of all
the pages corresponding to the parent process is created,
loaded into a separate memory location by the OS for the
child process.

Is This Answer Correct ?    43 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between program and x86?

568


Tell me if you know how are the wait/signal operations for monitor different from those for semaphores?

536


What is synchronous and asynchronous process?

538


What is micro kernel approach and site its advantages?

569


Explain paging, faulting, and deadlock?

640






What do you mean by ram?

584


What are the methods for handling deadlocks?

565


What do you understand by the term ‘transistors’?

551


Explain thrashing.

559


What are the different ways in which data can be represented?

564


What are the different types package forms?

591


Explain what do you understand by registers, briefly explain the various types of registers.

520


What is resource allocation graph?

720


How do I copy a full file path?

543


What are the different types of fragmentation?

637