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:
  1. #include <iostream>
  2. using namespace std;
  3. void foo(int x,...);
  4. int main()
  5. {
  6. foo(5);
  7. return 0;
  8. }
  9.  
  10. void foo(int x,...)
  11. {
  12. cout<<x;
  13. }
To copy to clipboard, switch view to plain text mode