📂 导航
🏫 班级管理 📚 学习中心 📝 题单 💻 编程题 🐾 宠物 💬 私信 📒 我的笔记 ⭐ 积分管理 🔐 权限管理

📝 Q8. 运行后输出? ```cpp struct Point{int x,y;}; struct Rectangle{Point toLeft,bottomRight;}; int main(){ Rectangle rect={{10,10},{20,20}}; rect.toLeft.x=5;Point*p=&rect.bottomRight;p->y=5; cout<<rect.toLeft.x+rect.bottomRight.y;} ```

📂 C++  ·  ⚡ 难度 4  ·  ❓ 单选题  ·  📖 GESP四级真题
🏷️ GESP,四级,真题,2025.12,指针,引用,结构体,多维数组,作用域,递推,排序,复杂度,异常,文件
📖 GESP四级真题

Q8. 运行后输出?
```cpp
struct Point{int x,y;};
struct Rectangle{Point toLeft,bottomRight;};
int main(){
Rectangle rect={{10,10},{20,20}};
rect.toLeft.x=5;Point*p=&rect.bottomRight;p->y=5;
cout<<rect.toLeft.x+rect.bottomRight.y;}
```

🐛 反馈BUG