✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Який буде результат виконання цього коду?
Введіть відповідь точно так, як зазначено у варіантах екзамену.
#include <iostream>
#include <stdexcept>
using namespace std;
int main() {
int age = -1;
if (age < 0) throw invalid_argument("bad age");
cout << age;
return 0;
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!