online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** [두목넷] 정보처리 산업기사 2021년 2회 > C++ > 디폴트매개변수와 전위증가연산자, cast연산자 *******************************************************************************/ #include <iostream> long Adder(int x, int y = 5, long z = 5) { return (++x * ++y + (int)++z); } int main() { std::cout << Adder(10, 20); 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