Question: QUESTIONS Class point int x = 1 0 ; int Y = 1 0 ; public: point ( int x ;int y point ( )
QUESTIONS
Class point
int ;
int Y;
public:
pointint ;int
point;
void draw point;
Assign to value
a Point ;;
b Point ;;
c Point ;;
d Point p; px;
e Point p; ppoint. ;
If point call drawpoint
a pdrawpoint;
b pdrawpoint
c;
d;
e p draw;
Array of points define new point
a point pnew point
;
b point pnew point;
c point new point
;
d point ppoint
;
e point new point
;
How to initialize values of
a;;
;;
b;;
;;
c;;
;;
d; ;
; ;
e; py; px; ;
class outer public: class inner public: void f; ; inner g return inner; ; void outer::inner::f
How to access from outer function to inner class function
a inner::f
b outer:::inner::f
c
d outer::f
e inner::outer::f
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
