Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     // Get the value of the environment variable 'TEST_VARIABLE'
  7.     char* testVariable = getenv("TEST_VARIABLE");
  8.  
  9.     // Print the value of the environment variable
  10.     printf("%s\n", testVariable);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement