TCS Company Programming Arrays

A Two-dimensional array X(7,9) is stored linearly column-wise in a computer's memory. Each element requires 8 bytes for storage of the value. If the first byte address of X(1,1) is 3000, what would be the last byte address of X(2,3)?
(a) 3247 (b) 3567 (c) 3088 (d) 3225 (e) 3765

Read Solution (Total 9)

TCS Other Question

Of the four straight lines A, B, C, D find out which pair forms an orthogonal set
A: 5x+4y-7 = 0, B: y = -x , C: y = 7x+3, D: 4x = 5y+5
(a)AD (b) AC (c) BC (d) BD (e)AB
.How would the decimal number 232 be represented in a base -5 number System? (a) 1234 (b) 1432 (c) 1412 (d) 1456 (e)1664