int *a = new int[16];
How do I access the array afterwards?
Does a hold the address of the entire array or just the first element in the array?
Basically, I have this code,
struct student {
string name;
int age;
};
int num_students = get_number_of_students();
struct student *students = new student[num_students];
Now, how do I access the elements in that array?