locked
Wats the default value of argc? RRS feed

  • Question

  • What is the default value of "argc" parameter used in C programs??

     

    Saturday, May 12, 2007 6:58 AM

Answers

  • I think its one.refer this link for more info  on it  or it may not have any default value with it.Its always number of args passed+1.
    Saturday, May 12, 2007 9:11 AM
  • I too think it is 1..
    Saturday, May 12, 2007 4:00 PM
  •  md jabed_hussain_44fb4a wrote:
    it start from 0

    Can u substantiate your answer? Please do it as am not sure of the answer....

    Saturday, May 12, 2007 4:04 PM

All replies

  • I think its one.refer this link for more info  on it  or it may not have any default value with it.Its always number of args passed+1.
    Saturday, May 12, 2007 9:11 AM
  • it start from 0
    Saturday, May 12, 2007 9:20 AM
  • I too think it is 1..
    Saturday, May 12, 2007 4:00 PM
  •  md jabed_hussain_44fb4a wrote:
    it start from 0

    Can u substantiate your answer? Please do it as am not sure of the answer....

    Saturday, May 12, 2007 4:04 PM