online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
// created by www.beginnersbook.in // to edit your code click on "fork code" button #include <stdio.h> /* global variable declaration */ int z; int main() { /* local variable declaration */ int x, y; /* actual initialization*/ x = 10; y = 20; z = x + y; //make addition and store into 'z' printf("Value of x = %d\nValue of y = %d\n\nAddition of x + y = %d",x,y,z); 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