Max Function Arguments

kanaks_go4ex's Avatar, Join Date: Jun 2008
Go4Expert Member
hi every1,

What is the maximum limit for passing arguments to a function ?

-thanks
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Till Stack overflows
oogabooga's Avatar
Ambitious contributor
The practical limit is common sense. If you have a huge number of arguments to pass, it is best to gather them in a structure or object and pass a single pointer. I can't imagine a function that would need, say, a hundred arguments. That would probably be indicative of a badly designed program.