![]() How can you initialize an array? Arrays can be initialized element by element or using an initializer list.Ģ. The length of a dynamic array can be set at runtime, and their length can be changed.ġ. This is because the length of a fixed array must be known at compile time. ![]() What can you say about the size of an array? When declaring a fixed array, the length of the array must be a compile-time constant. Which index would you use to access the 2nd variable in an array? 1ģ. What is an array? An array is an aggregate data type that lets us access many variables of the same type through a single identifier.Ģ.
0 Comments
Leave a Reply. |