adplus-dvertising
frame-decoration

Question

Which of the following statements assigns (to the intElements variable) the number of elements contained in the intNums array?

a.

intElements = Len(intNums)

b.

intElements = Length(intNums)

c.

intElements = intNums.Len

d.

intElements = intNums.Length

Answer: (d).intElements = intNums.Length

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following statements assigns (to the intElements variable) the number of elements contained in the intNums array?