/* Collection of code snippets by Arne Vajhøj */
/* (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) */
#include <stdio.h>

#define DIM 3

int a[DIM][DIM];

int main()
{
    for(int i = 0; i < DIM * DIM; i++)
    {
        printf("%d %d : %lld\n", i % DIM, i / DIM, (long long int)&a[i % DIM][i / DIM]); 
    }
    return 0;
}
