But what about main's third argument, envp?
C Interview Questions and Answers
(Continued from previous question...)
But what about main's third argument, envp?
It's a non-standard (though common) extension. If you really need to access the environment in ways beyond what the standard getenv function provides, though, the global variable environ is probably a better avenue (though it's equally non-standard).
(Continued on next question...)
Other Interview Questions
|