📚 Question Bank Q21 — Programming and Data Structure
Tags
Programming and Data Structure
Q21. Marks: +2.0 UGC NET Paper 2: Computer Science17th June 2023
A three dimensional array in C++ is declared as int A [a] [b] [c]. Consider that array elements are stored in row major order and indexing begin from 0. Here the address of an item at the location A [r] [s] [t] computed in terms of word length w of an integer is 
1.& A [0] [0] [0] + w (b*c*s + c*r + t) 
2.& A [0] [0] [0] + w (b*c*r* + c*s + t)  ✓ Correct
3.& A [0] [0] [0] + w (a*b*r* + c*s + t)
4.& A [0] [0] [0] + w (a*b*s + c*r + t)
📄 All “Programming and Data Structure” questions across papers
🏷 Change Tag for this Question