online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
X = -5 Y = 2 print(f"X = {X}, Y = {Y}") X = X + Y # Now X holds the sum of X and Y Y = X - Y # Subtract Y from the sum, so Y becomes the original X X = X - Y # Subtract the new Y (original X) from the sum, so X becomes the original Y print(f"X = {X}, Y = {Y}")

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