C++ program for student details using array of objects
Array of Objects in C++ Array of Object is similar to creating array or integer, character or any primitive data types. Example Array of integer is int age[5]={1,2,3,4,5}; Similar way array of Students is Student s[5]={studentObj1,studentObj2,studnetObj3,studentObj4,studentObj5}; The student is class Name s is an array of objects of 5 elements To initialize the student object … Read more