Hello Friends,
Could you please tell me what is the meaning of this parameter "..." and how to access the ... parameter? The sample code is given below:-
Qt Code:
#include <iostream> using namespace std; void foo(int x,...); int main() { foo(5); return 0; } void foo(int x,...) { cout<<x; }To copy to clipboard, switch view to plain text mode
Bookmarks