logo

Crowdly

Browser

Add to Chrome

Який буде результат виконання наступного коду? class A { public: int in...

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

Який буде результат виконання наступного коду?

class A {

public:

int inc (int x) {return ++ x; };

int inc (short x) {return x + 2; };

};

A obj; int y = 5;

cout << obj.inc (y);

(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!

Browser

Add to Chrome