Question: pleasd help, need this now! In the member function GetRadius, which of the following is the return statement using the 'this' pointer? class Circle {
In the member function GetRadius, which of the following is the return statement using the 'this' pointer? class Circle { public: void SetRadius(double radius); double GetRadius() const; private: double r; double Circle::GetRaduis() const { return r; } Select one: O a. return this->r b. this->return; c. return this d. The 'this pointer may not be used in a return statement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
