Any number of arguments can be passed to a function. There is no limit on this. Function arguments are stored in stack memory rather than heap memory. Stack memory allocation is depending on the operating system.
So, any number of arguments can be passed to a function as much as stack has enough memory. Program may crash when stack overflows.
Any number of arguments can be passed to a function. There is no limit on this. Function arguments are stored in stack memory rather than heap memory. Stack memory allocation is depending on the operating system.
So, any number of arguments can be passed to a function as much as stack has enough memory. Program may crash when stack overflows.
need an explanation for this answer? contact us directly to get an explanation for this answer