为什么以下代码输出4?
char** pointer = new char*[1]; std::cout << sizeof(pointer) << "\n";
我有一个指针数组,但它应该有长度1,不应该吗?
c++ pointers
c++ ×1
pointers ×1