online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> typedef struct Foo { int toto; long tata; int tutu; } Foo; typedef struct Bar { long toto; int tata; int tutu; } Bar; int main() { Foo foo; foo.toto = 42; foo.tata = 666; foo.tutu = 1515; Bar* bar = (Bar*)&foo; printf("%ld %d %d", bar->toto, bar->tata, bar->tutu); 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