How would I dynamically allocate a structure array for tracks so that I can access it with `all_albums_p[i]` ? I need it to be accessible by all\_albums\_p[i] because I'm returning all\_albums\_p.

```
struct tracks_{
  char tracks_title;
  int playlist_hits;
};

struct album_ {
  int num_tracks;
  struct tracks_ tracks;
};

typedef struct album_ album;
typedef struct tracks_ tracks;

album *all_albums_p = (album *)malloc(sizeof(album)*number_of_album);

```

\*\**\**\*\**\**\*\* What I've Changed ***\**\*\**\**\*\*\*\***

```
struct tracks_{
      char *tracks_title;
      int *playlist_hits;
    };

```