//define this array
char a[4][3][2] = {{{'a', 'b'}, {'c', 'd'}, {'e', 'f'}},
{{'g', 'h'}, {'i', 'j'}, {'k', 'l'}},
{{'m', 'n'}, {'o', 'p'}, {'q', 'r'}},
{{'s', 't'}, {'u', 'v'}, {'w', 'x'}}};
//define pointer
char (*pa)[2] = &a[1][0];
char (*ppa)[3][2] = &a[1];
/*-----------------------------------------------------
i want to address 'r' by pa and ppa.
help me ,thanks
-------------------------------------------------------*/
char a[4][3][2] = {{{'a', 'b'}, {'c', 'd'}, {'e', 'f'}},
{{'g', 'h'}, {'i', 'j'}, {'k', 'l'}},
{{'m', 'n'}, {'o', 'p'}, {'q', 'r'}},
{{'s', 't'}, {'u', 'v'}, {'w', 'x'}}};
//define pointer
char (*pa)[2] = &a[1][0];
char (*ppa)[3][2] = &a[1];
/*-----------------------------------------------------
i want to address 'r' by pa and ppa.
help me ,thanks
-------------------------------------------------------*/