logo

Crowdly

Browser

Add to Chrome

Якщо задані класи class A {...} A1; class B: public A {...} B1; class C...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Якщо задані класи

class A {...} A1;

class B: public A {...} B1;

class C: public A {...} C1;

то що буде виведено при виконанні оператора

throw (C1);

а обробка виняткової ситуації записана

catch (B & b) {cout << 1; }

catch (C & c) {cout << 2; }

catch (A & a) {cout << 3; }

catch (...) {cout << 4; }

(C++)

100%
0%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome