logo

Crowdly

Browser

Add to Chrome

Задано ієрархію класів: #include <iostream> class Figure { public: i...

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

Задано ієрархію класів:

#include <iostream>

class Figure {

public:

int x, y;

Figure(){x=1; y=1;};

};

class Circle: public Figure {

public:

float r;

Circle(float rr){r=rr;}

};

int main() {

Circle c1(5);

std::cout << c1.x <<","<< c1.y<<"," << c1.r;

return 0;

}

Що буде виведено на екран в результаті виконання

More questions like this

Want instant access to all verified answers on exam.nuwm.edu.ua?

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

Browser

Add to Chrome