online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/****************************************************************************** Online C Compiler. Code, Compile, Run and Debug C program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include <stdio.h> #define BUFF_SIZE 8 volatile int BufferA[BUFF_SIZE] = {0}; volatile int BufferB[BUFF_SIZE] = {0}; volatile int * const BUFFER_A_START = BufferA; volatile int * const BUFFER_B_START = BufferB; const volatile int * const arrayOfConstPointers[2] = {BUFFER_A_START, BUFFER_B_START}; int main() { volatile int * ptr = arrayOfConstPointers[0]; *ptr = 5; printf("Hello World: %d", *ptr); 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