Machine-translated by Google. Questions are authored in English.
Top

Discussion

Choose the correct statements

  • A.An array size cannot be changed once it is created.
  • B.Array element value can be changed any number of times 
  • C.To access Nth element of an array students, use students[n-1] as the starting index is 0. 
  • D.All of these

Answer: A

Correct answer: All of these

All three statements are true. An array’s size is fixed when it is created and cannot be changed. The values of its elements may be reassigned as often as you like. And because indexing starts at 0, the nth element is reached as students[n-1].

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.