これが単純なエラーである場合はご容赦ください。ただし、現在Cを学習しているだけで、ポインタを把握するための簡単なプログラムを作成しました。
期待する出力を生成する単純なコードがあります
int x = 4;
int *p;
p = &x;
printf("%d\n\n",*p);
//output is 4 as expected
しかし、同じロジックに従っているにもかかわらず、char配列で同じことをしようとすると...
char x[] = "Hello, Stack Overflow!";
char *p[];
p = &x;
printf("%s\n\n",*p);
//this gives me an error when compiling as follows
//
// run.c:15: error: incompatible types when assigning to type ‘char *[1]’ from type ‘char (*)[23]’