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)

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!