Question: What happed if you run the following code: class Rectangle { private: } double width; public: }; double length;| int main () { Rectangle
What happed if you run the following code: class Rectangle { private: } double width; public: }; double length;| int main () { Rectangle r; cout < < r.length; return 0;
Step by Step Solution
3.40 Rating (150 Votes )
There are 3 Steps involved in it
The image shows a C program with a Rectangle class and a main function The Rectangle class is intend... View full answer
Get step-by-step solutions from verified subject matter experts
