08/02/10 11:03:41
#include <stdio.h>
main()
{
char x[3][7] = {"first","second","third"};
char *z[3] = {"first","second","third"};
char **p;
p = z;
p++;
① printf("%c\n",**p);
② printf("%s\n",*p+1);
③ printf("%s\n",*(p+1)+1);
これだと xの要素数は21個で ポインタ配列zの要素数は19個
①②③のprintfの表示は ①がs ②がecond ③がhird
でいいですかね?