#include <iostream>
#include <stdarg.h>//중요!
using namespace std;
void cppFunc(int param1, int param2, ...)
{ return; }
int main()
{
int myArr[] {2022, 2023};
cppFunc(2020, 2021);
cppFunc(2020, 2021, 2022);
cppFunc(2020, 2021, 2022, 2023);
cppFunc(2020, 2021, myArr);
//cppFunc(2020, myArr);//ERROR. invalid conversion from ‘int*’ to ‘int’
cout << "call test FIN.";
return 0;
}