#include <stdio.h>

void main() {
    int a[2][3]={{-3, 14, 5}, {1, -10, 8}};
    int *b[] = {a[0], a[1]};
    int *p = b[1];
    
    printf("%d", *b[1]);             //b[1]은 a[1][0] 가리킴 값은 1
    printf("%d", *(--p -2));         //b[1][0] --p에서 [0][2]로 이동, -2에서 [0][0]으로 이동하여 값은 -3
    printf("%d\n", *(*(a+1)+1));     //a[1][1]의 값 -10
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: