#include <stdio.h>
//배열a의 시작 주소는 22935239이다.
//int = 4byte
int main() {
int a[3][4] = {{10, 15, 20, 25},
{30, 35, 40, 45},
{50, 55, 60, 65}};
printf("a+1 = %d, ", a+1); //a+1 = 22935239 + 4*4yte=22935255
printf("*(*a+2) = %d, ", *(*a+2)); //*(*a+2) = 20
printf("*(*(a+1)+2 = %d\n", *(*(a+1)+2)); //*(*(a+1)+2) = 40
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: