What is wrong in the following code? (Use the Circle class defined in Listing, CircleWithPrivateDataFields.h.)
Circle c;cout << c.radius << endl;
#ifndef CIRCLE_H#define CIRCLE_H
class Circle{public : Circle(); Circle(double); double getArea(); double getRadius(); void setRadius(double);
private: double radius;};
#endif
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.