#GESP3852. [GESP]L4-202603-Q3852-S

[GESP]L4-202603-Q3852-S

执行下面程序,输出结果是( )。

int divi(int a,int b){
    if(b==0) throw 0;
    return a/b;
}

int main(){
    try{
        cout << divi(10,0);
    }catch(const char* msg){
        cout << "A";
    }catch(int){
        cout << "B";
    }
}

{{ select(1) }}
- A
- B
- 程序崩溃
- 无输出