Arrays of Structures
Learn to create arrays of custom data types using structures.
We'll cover the following...
We'll cover the following...
Introduction
Let’s extend the previous book example by adding the structure for a bookstore. A bookstore contains information such as an address, start and end hours, a list of books, and the number of books inside the store.
Recall that we define a book as follows:
typedef struct
{
char name[32];
char author[64];
char publisher[32];
int releaseYear;
int numberOfPages;
}
...