logo

Crowdly

#define main1 main /** Klausimas   Ką atspausdins programa? Jeigu programa nes...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

#define main1 main

/** Klausimas  

Ką atspausdins programa? Jeigu programa nesikompiliuoja, rašykite ERROR į atsakymo langelį.

*/

    #include <iostream>

    class X{

       public:

           int a;

           X(int a_ = 13):a(a_){}

           X(const X& kx){ 

              a = kx.a - 5; 

              std::cout << a;

          }

    };

    int main1(){

       X x;

       X x1 = x;

       X x2 = x;

       X x3 = x1;

       return 0;

    }

More questions like this

Want instant access to all verified answers on emokymai.vu.lt?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!