J
J Wang
the c code as follows:
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("%s\n", getenv("NAME"));
return 0;
}
Segmentation Fault
why?
cheers,
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("%s\n", getenv("NAME"));
return 0;
}
Segmentation Fault
why?
cheers,