Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- // Get the value of the environment variable 'TEST_VARIABLE'
- char* testVariable = getenv("TEST_VARIABLE");
- // Print the value of the environment variable
- printf("%s\n", testVariable);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement