|
||
|
Function prototypes Unspecified argument lists
C++ uses the ellipsis symbol ( ... ) to show that a function's argument list is unspecified.
For example, the stdio.h
function printf() is declared as the prototype:
int printf(const char* cntrl_str, ...);
Such a function can be invoked on an arbitrary list of actual parameters.
This practice should be avoided, however, because it can cause type-safety issues. |
||
|
|
||