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; } Foo; typedef struct Bar { long toto; double tata; } Bar; int main() { Foo foo; foo.toto = 42; foo.tata = 666; Bar bar = (Bar)foo; printf("%l %d", bar.toto, bar.tata); 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.