How can you get/set an environment variable from a program? Ans. Getting the value of an environment variable is done by using "getenv()". Setting the value of an environment variable is done by using "putenv()"
Download the Study24x7 App, so you can connect and collaborate.