online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
struct Bar { unsigned char *m_a; unsigned char m_b[1]; }; int main() { Bar bar; const Bar &b = bar; void *p1 = b.m_a; // Ok const void *p2 = b.m_b; // works now 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