What value will an array element hold if the array is only declared not initialized (consider that the program is tried to be executed)?
Answers
Answered by
0
If the array is declared in a function, then the value is undefined. ... If the array is declared as a global one or as static in a function, then all elements are initialized to zero if they aren't initialized already.
Similar questions
Hindi,
6 months ago
Psychology,
6 months ago
Business Studies,
1 year ago
Math,
1 year ago
Math,
1 year ago