此浏览器不再受支持。
请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。
常量上的“&”
address-of 运算符 (&) 必须将左值作为操作数。
&
下面的示例生成 C2101:
// C2101.cpp int main() { int* ptr = &123; // C2101 }
此页面是否有帮助?