#include #include using namespace std ; class A1 { public: int arr1[5] ; A1( ) : arr1{1, 2, 3, 4, 5} { //Pre c++ 11 // for (int i1 = 1; i1 <= 5; ++i1) { // myArray[i1] = i1 ; // Assign values // } cout << "Default constructor." << endl ; for( int x1 : arr1 ) cout << x1 << endl ; } A1( int i1 ) { } A1( const A1& a1Object ) { cout << "Copy constructor." << endl ; } }; int main() { return 0 ; }