Process Model and IPC Interview questions


Total available count: 17
Subject - Operating System
Subsubject - Process Model and IPC

How can you get/set an environment variable from a program?

Getting the value of an environment variable is done by using `getenv()'.

Setting the value of an environment variable is done by using `putenv()'.




Next 5 interview question(s)

1
List the system calls used for process management?
2
Predict the output of the following program code?
3
Explain fork system call?
4
What are various IDs associated with a process?
5
Brief about the initial process sequence while the system boots up?