Question: I was thinking today while reading about the default constructor of classes in C++ and let's say we have this code of the class SortedArray:

```
class SortedArray
{

private:
    struct arrayCell
    {
        int pageID;                
        int totalNeighbors;   
    };
};

```

We assign an array of pointers pointing to objects of this class and then we initialize the pointers using the default constructor. What will happen? Will memory be stored for the structs? And if it is what will the int's be initialized to? Thanks.

Answer: 
If you're talking about pointers of type `SortedArray*` then no.

`SortedArray` is an empty class with a private nested type.

If you allocate instances of the nested type `SortedArray::arrayCell` then the integers will be default-initialized (the value is unspecified).
I'm pretty sure it will allocate memory for each object you initialize in your array, with the ints set to their default value (0).