In C/C++, the main function receives parameters which are of type char*.
char*
int main(int argc, char* argv[]){ return 0; }
The argument list is part of the process environment, similar to (but distinct from) environment variables.