int main() { Circle c1; Circle c2(6); cl = c2; cout <« cl.getArea() « end1; int main() { cout <« Circle(8).getArea(O « endl; return 0; return 0; } (a) (b)

icon
Related questions
Question

What is the output of the following code?

int main()
{
Circle c1;
Circle c2(6);
cl = c2;
cout <« cl.getArea() « end1;
int main()
{
cout <« Circle(8).getArea(O
« endl;
return 0;
return 0;
}
(a)
(b)
Transcribed Image Text:int main() { Circle c1; Circle c2(6); cl = c2; cout <« cl.getArea() « end1; int main() { cout <« Circle(8).getArea(O « endl; return 0; return 0; } (a) (b)
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer