c中省略号运算符是什么
Possible Duplicate:
What's does … mean in an argument list in C ?
function fun1(...)
{
}
Please tell me about what is the use and how to use ellipsis operator in c.
Thanks,
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
省略号用于表示函数的可变数量的参数。例如:
上述 C 语言函数可以使用不同类型和数量的参数进行调用,例如:
和
C99< /a> 引入了 可变参数宏,它也使用了省略号。
An ellipsis is used to represent a variable number of parameters to a function. For example:
The above function in C could then be called with different types and numbers of parameters such as:
and
C99 introduced Variadic macros which also makes use of ellipsis.