Results 1 to 3 of 3

Thread: Arguments for a function

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Answers
    2

    Arguments for a function

    Is there any limit on the number of arguments for a function? Or can we pass any number of arguments into a function? If there is a limit, what is that limit?
    Thanks in advance


  2. #2
    Expert Member
    Join Date
    Nov 2006
    Answers
    518

    Re: Arguments for a function

    There is no limit. We can use any number of parameters.

    We can use int argc and char argv[] (C’s command line parameters) like parameters list to handle multiple and uncertain number of arguments from a function call.

    Lack of WILL POWER has caused more failure than
    lack of INTELLIGENCE or ABILITY.

    -sutnarcha-

  3. #3
    Junior Member
    Join Date
    Feb 2007
    Answers
    17

    Re: Arguments for a function

    I would certainly suggest that if you have huge list of argument list then pass it as comma seperated value and then extract value in SP


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact