Can I check in C(++) if an array is all 0 (or false) without iterating/looping over every single value and without allocating a new array of the same size (to use memc
memc
No, you can compare arrays with memcmp, but you can't compare one value against a block of memory.
memcmp
What you can do is use algorithms in C++ but that still involves a loop internally.