Are the variables argc and argv are local to main?

Showing Answers 1 - 9 of 9 Answers

Yes why because these variables written in main function only, not outside main. These belong to main block but not to other. So according to my knowledge these command line arguments are local to main.

  Was this answer useful?  Yes

yogesh kumar

  • Aug 21st, 2015
 

Can we change these argv and argc command line arguments ?

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions