Listing 2 Potentially incompatible assignments

#define DIM1 1

#define DIM2 1

int array_2d[DIM1][DIM2];
const int array_2d_of_const[DIM1][DIM2] = {{1}};

void function1 ()
{
int (*pointer_2d)[DIM2] = array_2d;
    const int (*pointer_2d_to_const_1)[DIM2] = array_2d_of_const;
    const int (*pointer_2d_to_const_2)[DIM2] = array_2d;
}

/* End of File */