#include <iostream>
using namespace std;
class Clazz {
int a;
const int b;
int c;
public:
Clazz(int a, int b):a(a - 1),b(b),c(a - 2) {}
void print() {
cout << a << b << c << endl;
}
};
int main() {
Clazz x(5, 10);
x.print();
return 0;
}
Login in to like
Login in to comment