online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
#include <stdio.h> struct specificSubStruct { int i; }; struct bigMonolithStruct { int i; struct specificSubStruct specificSubStruct; }; int main() { struct bigMonolithStruct bigMonolith; struct bigMonolithStruct *bigMonolithPtr = &bigMonolith; bigMonolithPtr->i = 1; bigMonolithPtr->specificSubStruct.i = 2; struct specificSubStruct *subStructPtr = &bigMonolithPtr->specificSubStruct; printf("Hello World %d %d %p %p", bigMonolithPtr->i, subStructPtr->i, bigMonolithPtr, subStructPtr); 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.