Recent questions tagged array

4 votes
2 answers
242
The information about an array used in program will be stored inSymbol TableActivation RecordBoth (A) and (B)Dope Vector
0 votes
1 answer
243
Consider an array size of 10 and insertion of 10 element in it.If first five element are inserted at loc =0 and rest five element are at loc=2then the total number of shi...
0 votes
2 answers
244
#include <stdio.h int main() { char p; char buf[10] = {1, 2, 3, 4, 5, 6, 9, 8}; p = (buf + 1)[5]; printf("%d\n", p); return 0; }(a) 5 (b) 6 (c) 9 (d) none of the above
0 votes
1 answer
245
0 votes
1 answer
246
0 votes
2 answers
248
9 votes
3 answers
250
In an array of $2N$ elements that is both 2-ordered and 3-ordered, what is the maximum number of positions that an element can be from its position if the array were 1-or...
11 votes
2 answers
251
Let $A(1:8, -5:5, -10:5)$ be a three dimensional array. How many elements are there in the array $A$?$1200$$1408$$33$$1050$
1 votes
1 answer
253
#include<stdio.h>int main(){char *s = "Geeks Quiz";int n = 7;printf("%.*s", n, s);return 0;}
0 votes
1 answer
255
Number of comparisions in worst case required to merge two sorted arrays of size 40 and 60 are -
2 votes
1 answer
258
There has to be a general method in deriving equations based on RMO and CMO .Could any one explain me how to derive formula of RMO and CMO of important matrices likeUpper...
16 votes
3 answers
259
A is an array $[2.....6, 2.....8, 2.......10]$ of elements. The starting location is $500$. The location of an element $A(5, 5, 5)$ using column major order is __________...
3 votes
2 answers
260
2 votes
1 answer
261
Please solve the above problem. Given answer: D
0 votes
1 answer
263
What is K -way merge sort.... !!!!! i m very confused....if we say 2-way merge sort..does it mean dividing array into 2 parts or dividing array in size of 2!!!!
48 votes
8 answers
268
Consider the following C program segment.# include <stdio.h int main() { char s1[7] = "1234", *p; p = s1 + 2; *p = '0'; printf("%s", s1); }What will be printed by the pro...