logo

Crowdly

Browser

Add to Chrome

#include void my_open1 () { throw int (8); } void my_open2 ()...

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

#include void my_open1 ()

{

throw int (8);

}

void my_open2 ()

try

{

throw std :: logic_error ( "");

}

catch (std :: runtime_error & err) {}

void my_open3 ()

try

{

throw std :: runtime_error (& guot; runtime ");

}

catch (const std :: runtime_error * err) {}

struct ERR_ {};

void my_open4 () {

try

{

throw ERR_ ();

}

catch (...) {}

}

int main () {

try {

}

catch (...) {

return 5;

}

return 0;

}

]]> Дзвінок яких з функцій зсередини блоку try в функції main () призведе до завершення програми з результатом 5?

(C++)

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