extern char *hello 与 extern char hello[]的差别

extern char *hello 与 extern char hello[]的区别RT我知道extern char hello[]是指针常量,不能被直接赋值

extern char *hello 与 extern char hello[]的区别
RT

我知道extern char hello[]是指针常量,不能被直接赋值,除此之外还有其他的区别吗?
[解决办法]


extern char *hello;  /* 指针 */
extern char world[]; /* 数组 */


这就是指针和数组的区别。