Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
请你描述一下是什么意思:
常量字符* 常量*
这使得内部指针只读(const):
虽然这将编译:
char *foo = NULL; const char** bar = NULL; bar[0] = foo;
这不会:
char *foo = NULL; const char* const* bar = NULL; bar[0] = foo;
因为不允许设置内部指针。