Computer Science, asked by khushiiiiii6638, 11 months ago

What do you mean by runtime and compile time array initialization of an array?

Answers

Answered by VyasNaman
0

Answer:

In C language, arrays are reffered to as structured data types. An array is defined as finite ordered collection of homogenous data, stored in contiguous memory locations.

Here the words,

finite means data range must be defined.

ordered means data must be stored in continuous memory addresses.

homogenous means data must be of similar data type.

Example where arrays are used,

to store list of Employee or Student names,

to store marks of students,

or to store list of numbers or characters etc.

Since arrays provide an easy way to represent data, it is classified amongst the data structures in C. Other data structures in c are structure, lists, queues, trees etc. Array can be used to represent not only simple list of data but also table of data in two or three dimensions.

Similar questions