下述程序的输出是
```c
#
include<stdio.h>
int main()
{
static char *s[] = {"black", "white", "pink", "violet"};
char **ptr[] = {s+3, s+2, s+1, s}, ***p;
p = ptr;
++p;
printf("%s", **p+1);
return 0;
}
```
下述程序的输出是
```c
#
include<stdio.h>
int main()
{
static char *s[] = {"black", "white", "pink", "violet"};
char **ptr[] = {s+3, s+2, s+1, s}, ***p;
p = ptr;
++p;
printf("%s", **p+1);
return 0;
}
```
直接放进去运行。。。
根据我的预测(不一定对)
8 p=&ptr[0]
9 p=&ptr[1]=&(s+2)=&(&s[2])=&(&"pink")
*p=&"pink"
**p="pink"
**p+1="pink"+1="ink"