C Language (Day-08)
C Language (Day-08)
Gorakhpur Center
Ministry of Electronics & Information Technology (MeitY), Government of India
1. What is Array?
A. Collection of different type of elements B. Collectionof similar type of elements
C. None of the above D. Both A and C Ans :- B
7. What will happen if in a C program you assign a value to an array element whose subscript exceeds the
size of array?
A. The element will be set to 0.
B. The compiler would report an error.
C. The program may crash if some important data gets overwritten.
D. The array size would appropriately grow. Ans :- C