Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3027

Data strucures

$
0
0
1. Suppose that the array B is stored linearly in column-major order, beginning in address beta.

i. If B is declared as B [1….3, 1….4] then what is the address of B[2,3].

ii. If B is declared as B [L1…U1, L2…U2,L3…U3] then what is the address of B[i,j,k].



2. What is the address of A[0,0,0] in an array stored linearly in row major beginning with address α if it is declared A[-5..0, -2..3, -2..0]

Viewing all articles
Browse latest Browse all 3027

Latest Images

Trending Articles



Latest Images