79658758

Date: 2025-06-09 10:59:56
Score: 0.5
Natty:
Report link

if you're declaring your array inside of a function as 'static', then the declared array and it's value won't be erased at next calling of the function.

if you're declaring your array outside of a function as 'static', it's linkage-symbol gets visible only to the scope of it's source file and it's not visible from other source files.

const is about constantness of a variable, and it guarantees that the variable's or the array's value won't be changed after it's initial value, and also is considered as read-only memory. however you can change it's value from alternative ways, but you can't change the array's value normally by a = expression.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ali Rahbar