Question: Write the output for the following code: class C{public: CO: x(0),y(0) { C(int xx, int yy): x(xx), y(yy) private int x,y; }; void main() {

Write the output for the following code: class C{public: CO: x(0),y(0) { C(int xx, int yy): x(xx), y(yy) private int x,y; }; void main() { Cel.c2(5,6); C *ptr Assert(ptr!=0); cl=c2: ptr=&c2:} Select one a Nothing OD 56 056
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
