What does 4th argument of main function in C point to?
arguments, c, c++, program-entry-point
Solution
Well, heres the breakdown:
- `argc` -- C standard
- `argv` -- C standard
- `env` -- Works on most UNIX and MS Win, but not standard
- `apple` -- Other information passed as forth argument by Mac OSX and Darwin
Problem
We have ``` int main(int argc, char** argv, char** envc) ``` for the ordinary. but I want to know if there is any other argument main can have instead of these. And if there is any, what does it point to?