Recent questions tagged array

1 votes
1 answer
2
In what cases does an uninitialized array have values = 0 and for which cases does it have values = garbage values. How to differentiate?
1 votes
1 answer
3
Does C support fractional Indices?float x = some fraction;Is float a[x] valid declaration?
1 votes
1 answer
7
Which of the following is true for a sorted list with ' $n$ ' elements?Insertion in a sorted array takes constant time.Insertion in a sorted linear linked list takes cons...
1 votes
1 answer
8
How is the address written for 3-dimensional arrays?In some answers, I saw (row, column, frame) and in others, it was (frame, row, column) Which one to follow??Also, how ...
1 votes
1 answer
11
Can an array store elements of different storage classes?
1 votes
1 answer
12
3 votes
2 answers
13
In QuickSort algorithm, which of the following statements is NOT true regarding the partition process?a) Partition always divides the array into two non-empty subsets.b) ...
0 votes
1 answer
14
We have stored an element after a few elements in an array, where the array size is unknown, then find the position of in array.
0 votes
1 answer
18
What is the logic applied here.
1 votes
2 answers
19
The return value of ace(4) is int ace(int a) { int x=1; static int k=1; if(a==1) return x; for(;k<a;++k) x=x+ace(k)*ace(a-k); return x; }A.15B.4C.10D.Error