logo

Crowdly

В якому рядку буде помилка компіляції?  1: class A 2: {public: void f1 (int...

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

В якому рядку буде помилка компіляції?

 1: class A

2: {public: void f1 (int & a) {val + = a ++;};  // val ініціалізується в конструкторі

 3: int const f2 () {return val + 1;};

 4: int val; A():val(0)

 5: void f3 (int f, const char ch);

6:} A1;

7: void A :: f3 (int f, const char ch) {

 8: int d = 5;

9: f1 (* d);

10: f2 ();

 11:}

(C++)

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!