When declaring an array within a function, what happens if we don’t specify any default value?

Options
- its elements will not be initialized to any value by default
- its elements will be initialized to any random value by default
- its elements will be initialized to zero
- It will result in an error


CORRECT ANSWER : its elements will not be initialized to any value by default

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement