Computer Science · Programming Languages
C++ में एक त्रि-विमीय ऐरे (three-dimensional array) को int A[a][b][c] के रूप में घोषित किया गया है। यह मानते हुए कि ऐरे तत्व रो-मेजर ऑर्डर (row-major order) में संग्रहीत हैं और इंडेक्सिंग 0 से शुरू होती है, स्थान A[r][s][t] पर किसी आइटम का पता पूर्णांक (integer) की वर्ड लंबाई 'w' के संदर्भ में होगा:
- 1&A[0][0][0] + w(a * b * s + c * r + t)
- 2&A[0][0][0] + w(a * b * r + c * s + t)
- 3&A[0][0][0] + w(b * c * r + c * s + t)✓
- 4&A[0][0][0] + w(b * c * s + c * r + t)
सही उत्तर देखें
&A[0][0][0] + w(b * c * r + c * s + t)
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Programming Languages?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Programming Languages