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
Printable View
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
There is no limit. We can use any number of parameters.:eek:
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.:D
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