And they’re useless if you want to combine different data types together. Luckily, C provides us with proper alternatives out of the box. This write-up will introduce structures and unions in C ...
Alternatively, a record structure could be used. This would allow the data for each city to be scored together, rather than in four different arrays. A record type to store information on each ...