online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/****************************************************************************** Online C Compiler. Code, Compile, Run and Debug C program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include "stdio.h" int n = 0; int nn = 111; int main(int argc, char **argv) { int n = 1; printf("n from main(): %d\n", n); function1(); function2(); } void function1() { extern int n; int nn; //declaring without extern keyword int nnn; //declaring without extern keyword printf("n from function1(): %d\n", n); printf("nn from function1(): %d\n", nn); printf("nnn from function1(): %d\n", nnn); n = 10; } void function2() { extern int n; int nn; //declaring without extern keyword int nnn; //declaring without extern keyword printf("n from function2(): %d\n", n); printf("nn from function2(): %d\n", nn); printf("nnn from function2(): %d\n", nnn); } int nnn = 222 ;

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