(A) Compiler Error
(B) geeksquiz followed by garbage characters
(D) Runtime Error
Explanation: We have created a 3D array that should have 2*3*3 (= 18) elements, but we are initializing only 9 of them. In C, when we initialize less no of elements in an array all uninitialized elements become ‘\0′ in case of char and 0 in case of integers.
Quiz of this Question