How are following related to each other: (i) arrays and structures (ii) structures and classes ? | SoloLearn: Learn to code for FREE!

0

How are following related to each other: (i) arrays and structures (ii) structures and classes ?

difference

12/28/2017 8:30:04 AM

Aman Singh

1 Answer

New Answer

+1

(i) Array and structure are totally different Array stores multiple values of similar type in a single variable while, structure stores multiple variables of different types as well as various functions (ii) Structure and class are similar because we can store multiple variables of different types in both of then as well as we can store multiple functions in both