Multiple choice

Till the array elements are not given any specific values, they are supposed to contain garbage values.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In C and C++, uninitialized local array elements contain garbage values - whatever bits were previously in those memory locations. Only static and global arrays are automatically initialized to zero. This is why explicit initialization is important.