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.
以下陈述在任何情况下都合法吗?
s.*p = 5;
那么, 点运算符可以有一个表达式作为它的右操作数吗?为什么?
p是指向成员s的指针,您可以使用运算符通过类对象访问指向的成员.*。
p
s
.*