Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

ISRO | ISRO CS 2013 | Question 1

  • Last Updated : 11 May, 2018

Let A(1:8, -5:5, -10:5) be a three dimensional array. How many elements are there in the array A?
(A) 1200
(B) 1408
(C) 33
(D) 1050


Answer: (B)

Explanation: Number of elements in first dimension of array = upper limit – lower limit + 1 = 8 – 1 + 1 =8
Number of elements in second dimension of array = 5 – (-5) + 1 = 11
Number of elements in third dimension of array = 15 – (-10) + 1 = 16
total number of elements = 8 * 11 * 16 = 1408
So, Answer (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :