Technical preparation

CSE MCQ

61. The following program main( ) { static int a[ ] = { 7, 8, 9 } ; printf( "%d", 2[ a ] + a[ 2 ] ) ; }

62. While passing an array as an actual argument, the function call must have the array name

63. Consider the following type definition. typedef char x[10]; x myArray[5]; What will sizeof(myArray) be ? (Assume one character occupies 1 byte)

64. Consider the array definition int num [10] = {3, 3, 3}; Pick the Correct answers

65. If storage class is missing in the array definition, by default it will be taken to be

66. In which of the following cases, linked list implementation of sparse matrices consumes the same memory space as the conventional way of storing the entire array?

67. The information about an array used in a program will be sorted in

68. Minimun number of comparison required to compute the largest and second largest element in array is

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

70. 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

71. 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

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

73. 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

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

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

76. For 'C' programming language

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

78. Window NT

79. Two programs of worm are

80. Audit log can be used to