How many arguments can be passed to a function in C?

C Programming Language >   Function in C Language >   User Define Function  

Short Question

3543


Answer:

  • 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.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.