Question: what is envp in c?
Answer: The third line above, where main accepts three parameters, is a Microsoft extension to the ANSI C standard. The third parameter, envp, is an array of pointers to environment variables. The envp array is terminated by a null pointer. ... The array of strings ends with argv[argc], which contains a null pointer.