You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/*
|
|
* C Program to Print Environment variables
|
|
*/
|
|
#include <stdio.h>
|
|
|
|
void main(int argc, char *argv[], char * envp[])
|
|
{
|
|
int i;
|
|
for (i = 0; envp[i] != NULL; i++)
|
|
{
|
|
printf("\n%s", envp[i]);
|
|
}
|
|
} |