#include <stdio.h>

int main() 
{
    int a[] = {1,2,3,4,5};
    int b[] = {2,3,5,6,7};
    int c[] = {1,4,5,6,8};
    
    int* arr[] = {a, b, c};
    int i = 0;
    for (i = 0; i < 3; i++)
    {
        int j = 0;
        for (j = 0; j < 5; j++)
        {
            // printf("%d ", arr[i][j]);
            printf("%d ", *(arr[i] + j));

        }
        printf("\n");
    }

	return 0;
}