#include <stdio.h>
int main (void)
{
int a[] = {1, 2, 3, 4};
int b[] = {5, 6,};
int c[] = {7, 8, 9};
int *x[] = {a, b, c};
int **y = x;
printf ("*x[0] = {%i, %i, %i, %i}\n", y
[0][0], y
[0][1], y[0][2], y[0][3]);
printf ("*x[1] = {%i, %i}\n", y
[1][0], y
[1][1]); printf ("*x[2] = {%i, %i, %i}\n", y
[2][0], y
[2][1], y[2][2]);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbiAodm9pZCkKewogIGludCBhW10gPSB7MSwgMiwgMywgNH07CiAgaW50IGJbXSA9IHs1LCA2LH07CiAgaW50IGNbXSA9IHs3LCA4LCA5fTsKICBpbnQgKnhbXSA9IHthLCBiLCBjfTsKICBpbnQgKip5ID0geDsKCiAgcHJpbnRmICgiKnhbMF0gPSB7JWksICVpLCAlaSwgJWl9XG4iLCB5WzBdWzBdLCB5WzBdWzFdLAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgeVswXVsyXSwgeVswXVszXSk7CiAgcHJpbnRmICgiKnhbMV0gPSB7JWksICVpfVxuIiwgeVsxXVswXSwgeVsxXVsxXSk7CiAgcHJpbnRmICgiKnhbMl0gPSB7JWksICVpLCAlaX1cbiIsIHlbMl1bMF0sIHlbMl1bMV0sCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHlbMl1bMl0pOwoKICByZXR1cm4gMDsKfQo=