Explain how to get/set an environment variable from a program.
In C programming language:
An environment variable can get using the function getenv().
An environment variable can set using the function getenv().
In Shell scripting:
The environment variable itself can be used as:
MAIL_DELIVERY_COMPLETE=0
PATH=$PATH:/home/myuser/*.jar