Is there any limitation on string length defined in variable argument list

前端 未结 3 898
温柔的废话
温柔的废话 2021-01-26 00:11

I have doubt regarding variable argument list,is there any limitation on the lenght of char string defined as one of argument to variable list.for example

void S         


        
3条回答
  •  醉酒成梦
    2021-01-26 00:38

    No.

    All that gets passed in the call is character pointers after all.

    The size of each pointer is constant, regardless of how many characters are in the string it points at.

提交回复
热议问题