我有一个非常简单的问题:
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
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句