RE: How many parameters can be passed to a function in...
Hi mike We are not talking of zero as a number but we are talking about number of parameters!Passing zero number of parameters means we are not passing any argument!
RE: How many parameters can be passed to a function in...
Hi all I was trying to find the upper limit to as to how many parameters I can pass on to a function I tried it till 700 the compiler (VC++ 6.0) was showing some warnings but no errors. The answer zero is perfectly fine.
RE: How many parameters can be passed to a function in...
We can pass any no.of parameters.The upperlimit can be found out by knowing the stack size for that function alloted by the operating system.Therefore it is dependent upon the operating system how much stack it is allocating.