online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
#include <stdio.h> #include <stdint.h> typedef struct { uint32_t temp; uint32_t temp2; } Foo_t; static void doFoo(const Foo_t *fooAPtr, const Foo_t **fooBPtr); static void doFoo(const Foo_t *fooAPtr, const Foo_t **fooBPtr) { /* Assinging B to A just as an example */ *fooBPtr = fooAPtr; } int main() { Foo_t fooA = {1, 2}; Foo_t *fooAPtr = &fooA; const Foo_t *fooBPtr = 0; doFoo(fooAPtr, &fooBPtr); printf("\n FooAPtr == %p, FooBPtr == %p \n", fooAPtr, fooBPtr); printf("\n FooAPtr == %i %i |_| FooBPtr == %i %i \n", fooAPtr->temp, fooAPtr->temp2, fooBPtr->temp, fooBPtr->temp2); 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