array of object static array : Person p[10] #include using namespace std; class Person { public: int age; Person() : age(0) {}; }; int main() { Person p[10]; for (auto& i : p) {//레퍼런스 안붙이면 메모리를 i의 새로 할당받아서 복사하는거임 cout