Recent questions tagged array

6 votes
3 answers
211
Please explain how to solve this.
3 votes
3 answers
212
I am not getting the answer , (11*8*13+67)*4+ base address =400+4844= 5244.But the answer is 5336, please explain.similar question is here: https://gateoverflow.in/29361/...
3 votes
1 answer
213
0 votes
2 answers
214
0 votes
0 answers
215
0 votes
3 answers
216
The minimum size that an array may require to store a binary tree with n nodes$2^{\left \lceil(log_2(n+1)) \right \rceil -1}$$2n-1$$2n-n+1$$n+1$
2 votes
1 answer
217
if the toeplitz matrix of order (5*5) is stored in one dimentional array then optimum number of elements stored will be?
0 votes
1 answer
220
Consider an array contains n integers, each integer belongs to {-1, 0, 1}. What is the best case time complexity to sort an array?
1 votes
3 answers
221
Answer is 407 , how? Please dont just throw away formula, explain it.
4 votes
2 answers
222
a[-25.....+25, -25......+25], Base address=0 and size of element = 100 bytesFind the location of a[20][22] ?Also Matrix is upper triangular matrix with row major order
0 votes
1 answer
223
A one dimensional array A has indices 1...75.Each element is a string and takes three memory words .The array is stored at location 1120 decimal .The starting address of ...
0 votes
2 answers
225
4 votes
1 answer
227
1 votes
1 answer
231
2 votes
1 answer
232
Given an array of integers, update the index with multiplication of previous and next integers, e.g.Input: 2 , 3, 4, 5, 6Output: 2*3, 2*4, 3*5, 4*6, 5*6 Please suggest ...
3 votes
1 answer
235
Arrays in C language can have ____ with reference to memory representation.n-subscriptstwo-subscriptsonly one subscriptthree subscripts only
2 votes
2 answers
236
"Arrays have better cache locality that can make them better in terms of performance" - What does it mean by that ?
6 votes
3 answers
237
A one dimensional array A has indices 1....75. Each element is a string and takes up three memory words. The array is stored at location 1120 decimal. The starting addres...
0 votes
1 answer
238
int main(){ static int arr[20]; int x=0; arr[x] = x++; printf("\n %d %d %d", arr[0],arr ,x); }OPTIONS :A) 000b) 101c) 001D) can't say
4 votes
2 answers
240
The information about an array used in program will be stored inSymbol TableActivation RecordBoth (A) and (B)Dope Vector