✅ 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{
private:
int x;
public:
X(int x_ = 2):x(x_){std::cout << x_;}
~X(){std::cout << x + 5;}
};
int main1(int argc, char** argv){
X x(8);
X* xn = new X[2];
delete[] xn;
return 0;
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!