Memory allocation for a single array with multiple values | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Memory allocation for a single array with multiple values

A curious learner here. “you can declare a single array to store all the values.” so if a single array can store multiple values, those values are going to be stored some where in a memory location, then the question is are all those values gonna be stored under one big memory location that was allocated for the array variable and then subdivide that space for each value? Or they all in one big memory location and no subdivided memory location?

21st Oct 2019, 7:59 PM
Mohamed
1 Answer
+ 1
@~swim~ thanx man
22nd Oct 2019, 10:38 PM
Mohamed