Question Bank all jobs

1. Which of the following is an illegal array definition?

2. Minimum number of interchange needed to convert the array 89,19,40,14,17,12,10,2,5,7,11,6,9,70, into a heap with the maximum element at the root is

3. A one dimensional array A has indices 1....75.Each element is a string and takes up three memory words. The array is stored starting at location 1120 decimal. The starting address of A[49] is

4. Size of the array need not be specified, when

5. If S is an array of 80 characters, then the value assigned to S through the statement scanf("%s",S) with input 12345 would be

6. If x is an array of interger, then the value of &x[i] is same as

7. What is the maximun number of dimensions an array in C may have?

8. For 'C' programming language

9. O(N)(linear time) is better than O(1) constant time.

10. Window NT

Ans.
1 2
2 3
3 3
4 1
5 1
6 1
7 4
8 4
9 2
10 4