Computer Science, asked by TbiaSupreme, 1 year ago

Reading and writing of arrays is done by using for Loop. State whether the statement is True (or) False And Justify it

Answers

Answered by aqibkincsem
1

Answer is True.

Reading and Writing Array :

Array can be access Array  the [] operator. In the left of the bracket a reference to the array must appear mandatorily.

A non-negative integer valueof an arbitrary expression should be inside the brackets.

You can use this syntax to both read and write the value of an element of an array in all legal JavaScript statements.

Answered by ChromaticSoul
7

Insertion and deletion are quite difficult in an array as the elements are stored in consecutive memory locations and the shifting operation is costly. Allocating more memory than the requirement leads to wastage of memory space and less allocation of memory also leads to a problem.

thanks__!!__!!__!!__

Similar questions