Function parameters max number

后端 未结 1 1017
野的像风
野的像风 2020-12-03 18:26

I did not find any limitation of count function parameters in the C99 standard and I guess it is only limited by stack size.

However I\'ve written a simple test pro

相关标签:
1条回答
  • 2020-12-03 18:42

    The Standard specifies a certain minimum number which every implementation must support,

    5.2.4.1 Translation Limits

    — 127 parameters in one function definition
    — 127 arguments in one function call

    0 讨论(0)
提交回复
热议问题