Array of Structures

Let's explore how to define an array of structures in C++.

We'll cover the following...

Introduction

We have 100 students in a class, and we have to store the name, age, and roll_number of each student, which means we need 300 variables. We have found a way to store all these variables under a single ...