Max number of arguments allowed in C?

Robert Lupton lupton at uhccux.uhcc.hawaii.edu
Tue Oct 3 15:10:14 AEST 1989


I recently saw some machine generated code that passed many, many
arguments in one argument list. Assuming that they are split across
lines so as not to exceed any line length limit (509? I forget),
is there a limit on the number of arguments allowed? I can imagine that
some argument passing schemes might run into trouble at quite small 
values. I'm not advocating this (we've fixed the code to do it's work
in other ways) but I did wonder...

			Robert



More information about the Comp.std.c mailing list