Is "argv[0] = name-of-executable" an accepted standard or just a common convention?
Asked 2010-01-12T17:31:51.220
134
When passing argument to main() in a C or C++ application, will argv[0] always be the name of the executable? Or is this just a common convention and not guaranteed to be true 100% of the time?