Quote Originally Posted by john.c View Post
Page 13 of N1570 says
Thanks.

For completeness (to cover the case of argc == 0 amongst other things)
argv[argc]shall be a null pointer

So argv[0] might be a NULL pointer if argc == 0 and might be an empty string if argc > 0 (argv[0][0] == '\0'). The case of it pointing to an empty string made sense about two seconds after I made the edit in my previous comment but I left the edit because I didn't have the standard handy. Thanks for the link