First page Back Continue Last page Overview Image
Special Cases
- Special Cases
1- Initializing the array with values less than its length, the remaining elements will be initialized with 0.
array [5] = { 1 , 2 } ;
2- Initializing the array with values more than its length, it would gives a compilation error.
array [4] = { 1 , 2 , 3 , 4 , 5 } ; (compilation error)