什么是对'...'令牌正确的称呼? [英] What's the correct term for the '...' token?

查看:182
本文介绍了什么是对'...'令牌正确的称呼?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

考虑printf的:

int printf ( const char * format, ... );

什么是用来描述 ... 条款和使用它的功能是什么?我一直称这是省略号,但是这就像调用&安培; 的符号运算符

What are the terms used to describe the ... and the functions that use it? I've been calling it an ellipsis, but that's like calling & the "ampersand operator."

推荐答案

<一个href=\"http://en.wikipedia.org/wiki/Parameter_%28computer_programming%29#Variable-length_parameter_lists\"相对=nofollow>可变长度参数列表

编辑:

或者,如果描述函数本身:可变参数函数

Or, if describing the function itself: Variadic function

这篇关于什么是对'...'令牌正确的称呼?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆