导航
班级管理 学习中心 题单 编程题 宠物 做题转盘 私信 我的笔记 积分管理 权限管理

📝 Q14. 执行后输出? ```cpp int divi(int a,int b){if(b==0)throw 0;return a/b;} int main(){ try{cout<<divi(10,0);} catch(const char*){cout<<"A";} catch(int){cout<<"B";} } ```

📂 C++  ·  ⚡ 难度 4  ·  ❓ 单选题  ·  📖 GESP四级真题
🏷️ GESP,四级,真题,2026.03,指针,引用,结构体,递推,排序,复杂度,异常,重定向,插入排序,排序稳定性
📖 GESP四级真题

Q14. 执行后输出?
```cpp
int divi(int a,int b){if(b==0)throw 0;return a/b;}
int main(){
try{cout<<divi(10,0);}
catch(const char*){cout<<"A";}
catch(int){cout<<"B";}
}
```

🐛 反馈BUG