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 x = 20; int main() { /* local variable declaration */ int x = 10; printf("Value of x = %d",x); 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