+ 1
How can we use a array with different type of elements in it ?
As we know array is a collection of same type of data or we can say homogenous data . Is it possible to use different type of elements in an array.
2 Réponses
+ 3
you can use structures and unions for that
+ 1
No. For that purpose heterogeneous Data structures are introduced..(lists, structs,...etc)..