Single Choice Moderate

QIn X++, how are array indexes typically referenced?

ID: #20859 Array Introduction in X++ Language 92 views
Question Info
#20859Q ID
ModerateDifficulty
Array Introduction in X++ LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Array indexes start at 0, with the first item referenced as [0], the second item as [1], and so on.
  • B Array indexes start at 1, with the first item referenced as [1], the second item as [2], and so on.
  • C Array indexes start at -1, with the first item referenced as [-1], the second item as [0], and so on.
  • D Array indexes can be arbitrary and are not fixed.
Correct Answer

Explanation

Array indexes start at 1, with the first item referenced as [1], the second item as [2], and so on.

Share This Question

Challenge a friend or share with your study group.