Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Max Function Arguments (http://www.go4expert.com/forums/max-function-arguments-t13214/)

kanaks_go4ex 24Aug2008 23:58

Max Function Arguments
hi every1,

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


shabbir 25Aug2008 09:13

Re: Max Function Arguments
Till Stack overflows

oogabooga 27Aug2008 01:56

Re: Max Function Arguments
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.

All times are GMT +5.5. The time now is 05:54.