+ 3

How many max number of arguments can present in function in c99 compiler?

21st Sep 2017, 3:44 PM
Saloni Maheshwari
Saloni Maheshwari - avatar
4 odpowiedzi
+ 5
Why, do you want to make a massive function?
21st Sep 2017, 3:58 PM
Manual
Manual - avatar
+ 3
according to C standard an implementation should support at least 127 parameters/arguments in a function AND According to C++ standard it should support at least 256 parameters/arguments in a function.
21st Sep 2017, 6:33 PM
vishal ranjan
vishal ranjan - avatar
+ 2
i m asking , just for knowledge that how many max. no. of arg. can present in funtn.??
21st Sep 2017, 4:02 PM
Saloni Maheshwari
Saloni Maheshwari - avatar
+ 1
Why do you want to worry about max arguments? They is no constrain on that. We should use fewer arguments as possible. For longer arguments, we should put in in object or array arguments.
21st Sep 2017, 5:03 PM
Calviղ
Calviղ - avatar