online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#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; }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue