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?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, heres the breakdown:
argc— C standardargv— C standardenv— Works on most UNIX and MS Win, but not standardapple— Other information passed as forth argument by Mac OSX and Darwin