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
How can a parent and child process communicate?
2
What is a zombie?
3
What are the process states in Unix?
4
What happens when you execute a program?
5
What happens when you execute a command?

Comments