/******************************************************************************
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;
}