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 a1[0]; int a2[0]; int aa[2][0]; struct empty_s { }; struct empty_s s1; struct empty_s s2; struct empty_s sa1[2]; #define PR(a) printf("&" #a "\t= %p, sizeof(" #a ") = %zu\n", &a, sizeof(a)) int main() { PR(a1); PR(a2); PR(aa); PR(aa[0]); PR(aa[1]); PR(s1); PR(s2); PR(sa1); PR(sa1[0]); PR(sa1[1]); 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