My dear friends, how to store structure single member in to array | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My dear friends, how to store structure single member in to array

I want to store structure individual members in different arrays

16th Apr 2020, 12:49 PM
Prashanth
Prashanth - avatar
4 Answers
+ 2
But why you want to do this? structures are meant to group data for easy access and transport. You could have separate 5 variables instead if you didn't want them in a group like a structure. It might be possible, but TBH I never did that.
16th Apr 2020, 1:00 PM
Ipang
+ 1
Can you elaborate further please? I'm not getting the idea clearly. Maybe a case example?
16th Apr 2020, 12:52 PM
Ipang
0
I'm having 5 members in structure so i want to store this 5 members individual arrays
16th Apr 2020, 12:54 PM
Prashanth
Prashanth - avatar
0
Example: Struct { Mem1; Mem2; Mem3; } So mem1, mem2, mem3 in individual arrays
16th Apr 2020, 12:56 PM
Prashanth
Prashanth - avatar