我有一个非常简单的问题:
const char *y = "string_test";
x = &y;
x 是什么类型?
预先感谢您的回答!
最佳答案
假设你的问题有错字,代码是:
const char *y = "string_test";
x = &y;
x 应定义为:
const char** x; // x is a pointer(Address of) a pointer to a constant char/string
关于c - 指向指向 const char 的指针的地址的数据类型,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59031247/