3 ms·
It is not evaluated for regular arrays. It is evaluated for arrays with variable size, you need to be careful a bit. But this is rarely happens to be a problem.
by uecker 3y ago
It is not evaluated for regular arrays. It is evaluated for arrays with variable size, you need to be careful a bit. But this is rarely happens to be a problem.
The general rule for sizeof is to apply it only to variable names or directly to typenames.