void test(char ***s, int x, int y){
printf("%p\n", s);
printf("%p\n", s + 1);
printf("%p\n", (char *s) + 1);
}
如果s的地址是0xbfe83210,则s + 1的地址是0xbfe83214, (char *s) + 1的地址是0xbfe83211.
转载于:https://www.cnblogs.com/traxex/p/5850885.html
void test(char ***s, int x, int y){
printf("%p\n", s);
printf("%p\n", s + 1);
printf("%p\n", (char *s) + 1);
}
如果s的地址是0xbfe83210,则s + 1的地址是0xbfe83214, (char *s) + 1的地址是0xbfe83211.
转载于:https://www.cnblogs.com/traxex/p/5850885.html