An element of an array is mentioned by its:...? Mcqs

Latest MCQs

An element of an array is mentioned by its:...?

(A) Array
(B) Subscript

(C) Object
(D) Name of element

✅ Correct Answer: Subscript

Comments
exexplanation-image
Explanation:

In most programming languages, each element's position is referenced numerically. For example, the first element of an array named array is typically referenced as array[0].

Source: This question is taken from the Data Entry Operator BS-14 Lahore High Court 2022

Best of Luck

From ShineGk.com

Share our website's link