diff --git a/C_Language/printenv.c b/C_Language/printenv.c new file mode 100644 index 0000000..7f525cf --- /dev/null +++ b/C_Language/printenv.c @@ -0,0 +1,14 @@ +#include +#include +#include + +int main( int argc, char **argv, char **envp) +{ + // I will display all the environment variables + while(*envp != NULL) + { + printf("%s\n", *envp); + *envp++; + } +} +