What are the elements present in the array of the following C code?
int array[5] = {5};
int array[5] = {5};
A. 5, 5, 5, 5, 5
B. 5, 0, 0, 0, 0
C. 5, (garbage), (garbage), (garbage), (garbage)
D. (garbage), (garbage), (garbage), (garbage), 5
Answer: Option B
Join The Discussion