Skip Navigation

How not to check array size in C++

pvs-studio.com How not to check array size in C++

How often do you see the sizeof(array)/sizeof(array[0]) statement used to get the size of an array? I really hope it′s not too often, because it′s 2024 already. In this note, we′ll talk about the...

How not to check array size in C++
8
8 comments
You've viewed 8 comments.